Reputation: 1499
It came to my mind that is it possible to store more than one value inside one cell in a mysql table using php and then retrieve every value through php.I will provide an example to make it more clear.
Example:
Suppose, i have the first column of text type and the very first field of that column i.e. mysqltable[0][0]
. Is there any way i can save multiple values inside this field in this way value1;value2;value3;
and so on in the rest of the fields inside the column ?if yes, then how can i do this and retrieve the very same using php?
Upvotes: 1
Views: 139
Reputation: 551
Yes, you can insert values in your database. You should try to implode that string with ,
separated string values to insert that and fetch that values in a your form with explode()
function.
Upvotes: 5