Re: multiple selects into mysql database
| From: | Joao Prado Maia | Date: | Thu, 24 Aug 2000 18:45:13 +0000 |
| Subject: | Re: multiple selects into mysql database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13496@lists.php.net to get a copy of this message | ||
At 02:38 PM 8/24/2000 -0400, dbarber wrote:
Joao, I tried your solution first because it was closest to my original script. Here's what happened. I selected two items from the list and submitted. the insert statement added two records to the table, but the values of $discipline was recorded as 'Array'. DanDan, Err.. just to make sure but the value of $discipline *is* 'Array', the values of $discipline[$z] are the values of the array itself, so check your code on the insert statement if you didn't put $discipline instead of $discipline[$z]. Regards, Joao -- Joao Prado Maia Web Developer Kefta.com, Inc