Re: Best way to pass multiple selections to a DB
| From: | Becoming Digital | Date: | Tue, 17 Jun 2003 18:59:30 +0000 |
| Subject: | Re: Best way to pass multiple selections to a DB | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28681@lists.php.net to get a copy of this message | ||
> Can anyone enlighten me as to some techniques for transferring information
> from a multiple select list box to mySQL.
Not knowing how you need to insert the values (multiple entries, values in
multiple fields), I would generate an array of the selections and loop through,
either running individual queries or building your multi-value query string.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
----- Original Message -----
From: "Creative Solutions New Media" <csnm@ns.sympatico.ca>
To: "PHP-DB" <php-db@lists.php.net>
Sent: Tuesday, 17 June, 2003 14:52
Subject: [PHP-DB] Best way to pass multiple selections to a DB
Hello,
Can anyone enlighten me as to some techniques for transferring information
from a multiple select list box to mySQL.
Someone recommended something about using join tables for this (which I have
no idea how to set up).
Thanks
Tim Winters
Manager, Creative Development
Sampling Technologies Incorporated (STI)
webmaster@samplingtechnologies.com
csnm@samplingtechnologies.com
W: 902 450 5500
C: 902 430 8498
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php