Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php insert array into mysql table

$matstring=implode("','",$matrix[1]);
mysql_query('INSERT INTO Australia (Price, Company, Days, Weight) VALUES ('$matstring')');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #insert #array #mysql #table
ADD COMMENT
Topic
Name
9+6 =