0

Hi i am using phpmyadmin mysql

In one of my database table i have a column contact_email and the value is stored as below

contact_email
["[email protected]"]

Which is Json encoded data , I am trying to convert that encoded data into string using query

I tried qith JSON_extract but it gave error.

Output what i need is

From ["[email protected]"] to [email protected]

Any help appreciated.

1 Answer 1

1

Simple use something like that

var obj = jQuery.parseJSON( '{ "name": "John" }' );
alert( obj.name === "John" );
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.