@cviv
I want to form an array for my form. sender_info[key]...
then i convert it into json and store into MySQL json column
When i gonna retrieve it, i would like to access it directly via the form input name.
@zachallia
Yup, you're right. This works. However, i need to write extra code to split the name inside and outside the bracket.
I fetch the input name for retrieving the current value from DB.
Rather than store it like this sender_info['name'], maybe try storing it like this sender_info|name. That way you can simply explode the string using the pipe (|).