how to insert array into database


great link from stackoverflow

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_*

2014-08-19 08:48:47