Answers for "how to add a column in mysql that stores array data"

SQL
0

insert array into mysql column

//Do db insert

$arr = array('val1','val2');
$string = implode(',',$arr);


//Do db retrieve

$arr = explode(',',$string);
Posted by: Guest on December-03-2020

Code answers related to "how to add a column in mysql that stores array data"

Code answers related to "SQL"

Browse Popular Code Answers by Language