southbeach
Programmer
Pulling my hair trying to do this ...
I have tried serialized(), base64_encode() and json_encode() and none of them work.
I am getting syntax error - I am trying to store an array to a table. The table is very simple
id, fID, array are the fields/columns
The array is something like:
I have tried serialized(), base64_encode() and json_encode() and none of them work.
I am getting syntax error - I am trying to store an array to a table. The table is very simple
id, fID, array are the fields/columns
The array is something like:
Code:
$data=array([0]=>array([0]....[23]),[1]=>array([0]....[23]),...)
[code]
Given above array, what must I do to get it stored in a MySQL table?
--
SouthBeach
[URL unfurl="true"]http://www.fp2php.com[/URL]
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.