> I have a little problem. I have a listbox (multiline combo box) on my web
> page. When I sellect multiple items from the list box and submit the form
to
> enter the values of the listbox items in the database, then only last
> selected item of the listbox is entered in the MySQL database.
>
> Does anyone know what to do?
Use NAME=whatever[] in your SELECT tag. Since this is:
http://www.php.net/FAQ.php#7.14
I suggest you re-read the FAQ to see if there's some other stuff there you
missed.
PS Don't feel too bad. I asked the same damn question 6 months after
reading the FAQ myself. I hadn't even understood the question, much less
the answer, when I first read it :-) Thankfully, Rasmus Lerdorf, the
original author of PHP was kind enough to answer my question politely, and,
well, that pretty much explains why I'm here right now. :-)
NOTE to newbies. Re-reading the FAQ once you think you know what you are
doing is a really Good Idea :-) Honest.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]