I have a sql table with events for booking clients for a clinic. The table values are collected from a Joomla Extension. My problem is, that all information about the client are collected in one table cell like in the example below.
How do I take out the values
"I_WANT_CLIENT_FIRST_NAME", "I_WANT_CLIENT_LAST_NAME", "I_WANT_CLIENT_EMAIL", "I_WANT_CLIENT_PHONE" and "I_WANT_CLIENT_GENDER"
so I can work with them separately?
I am not that much in to sql, so I have never seen this technique before. What is it called?
Here is the content of my column:
[{ "id":"1",
"fieldname":"First Name",
"fieldtype":"text",
"varname":"firstname",
"size":"60",
"is_email":null,
"is_required":"1",
"is_first_name":"1",
"is_last_name":"0",
"values":null,
"ordering":"0",
"data":"I_WANT_CLIENT_FIRST_NAME"
},
{ "id":"2",
"fieldname":"Last Name",
"fieldtype":"text",
"varname":"lastname",
"size":"60",
"is_email":null,
"is_required":"1",
"is_first_name":"0",
"is_last_name":"1",
"values":null,"ordering":"0",
"data":"I_WANT_CLIENT_LAST_NAME"
},
{ "id":"3",
"fieldname":"Email",
"fieldtype":"text",
"varname":"email",
"size":"60",
"is_email":"1",
"is_required":"1",
"is_first_name":"0",
"is_last_name":"0",
"values":null,
"ordering":"0",
"data":"I_WANT_CLIENT_EMAIL"},
{"id":"4","fieldname":"Mobile","fieldtype":"text","varname":"mobile","size":"60","is_email":null,"is_required":"1","is_first_name":"0","is_last_name":"0","values":null,"ordering":"0","data":"I_WANT_CLIENT_PHONE"},{"id":"5","fieldname":"Gender","fieldtype":"radio","varname":"gender","size":"60","is_email":"0","is_required":"1","is_first_name":"0","is_last_name":"0","values":"Male|Female","ordering":"0","data":"I_WANT_CLIENT_GENDER"
}]