how to insert array into database

Subject:

great link from stackoverflowhttp://stackoverflow.com/questions/10054633/insert-array-into-mysql-database-with-php

For key value pairs you can use Jquery to assign attributes name and value.  You need to assign name with name[] for it to store an array.once an array, implode in php ex. $var - implode(' ', array_values($post));echo and you will see your array entries.

2014-08-19 08:30:53gstlouis

remember that mysql_* is depricated.  These functions still exist with mysqli_*

gstlouis
vote
2014-08-19 08:48:47