Date: 07/31/02
- Next message: electroteque: "Re: [PHP] Re: stripping quotes within an image tag"
- Previous message: Martin Clifford: "Re: [PHP] select multiple"
- In reply to: christen1 <email protected>: "[PHP] select multiple"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: <christen1 <email protected>>
To: <php-general <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
- Next message: electroteque: "Re: [PHP] Re: stripping quotes within an image tag"
- Previous message: Martin Clifford: "Re: [PHP] select multiple"
- In reply to: christen1 <email protected>: "[PHP] select multiple"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

