RE: [PHP-DB] inserting array into mySQL

From: Date: Fri, 09 Nov 2001 13:52:18 +0000
Subject: RE: [PHP-DB] inserting array into mySQL
Groups: php.db 
Request: Send a blank email to php-db+get-14178@lists.php.net to get a copy of this message
> I have an array coming from a form that I need to insert into mySQL. > example: name[], phone[], address[] Use serialize() on the variable before inserting into the table and then unserialize() after retrieving the data from the table. Read up on both of the above functions for more information. Chris

« previous php.db (#14178) next »