Dropping an array into a MySQL table
Posted: Fri Oct 13, 2006 6:14 am
If I have an array with several items contained within, how would it be possible to drop the contents into a MySQL DB?
For example: if that was my array and I had 3 columns in the MySQL table (ID, name, age), how would I insert everything in the array into the table.
For example:
Code: Select all
$i[ID][NAME][AGE]