Use implode to make the array into a string and insert that. Depends on your database structure exactly how you'd do it...
www.php.net/implode ---John Holmes... ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 8:56 AM Subject: [PHP] select multiple Hello, i have done as told to select multiple value from a html form, but i cannot insert all of them into MySql database. it inserts Array into the field, instead of the list of values. What can i do? Is there a special script to insert them? i tried, $str = ""; foreach ($tableau as $k=>$v) $str= $v . " "; $sjt1=$_POST["sjt1"]; and then the insert command (among others )but it's always the same story. Please help, thanks ------------------- L'e-mail gratuit pas comme les autres. NOMADE.FR, pourquoi chercher ailleurs ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php