Simple Listbox
How do I capture the selection has made in a listbox (PHP code)?
Also:
I am hoping for some guidance. I am new to PHP and Dreamweaver and want to build on the tutorials. I am finding that a bit of a challenge. For instance, I want to modify what we have done by simply adding a listbox that contains information pulled dynamically from a database. I just want to know how to capture the user selection!!! How would I go about determining:
1) if I can do this by adding a listbox to my form
2) if I need to do it strictly with PHP code
3) a combination of the two.
My searches on the web have not been enlightening. In virtually every language I have used there is a source for basic information: this is the listbox object, parameters, etc. This is the syntax for accessing the object. I have tried searching for PHP manual, php listbox, etc. The only hits I have gotten were code snippets answering specific questions. I finally pieced together enough to load the listbox dynamically from a dbase. Interestingly most code snippets had lines and lines of code; mine is short but seems to work. Trying to figure out syntax for what I would assume to be a keyword (reserved word) hasn’t been any more informative.
Is there anything online that would directly speak to these points? I posted this question here as I am sure others are in my shoes. I would buy a book but don’t relish trying to survey a 10 foot wide selection of books on a subject that I have no expertise.
It just seems that what I am looking for is so basic that it should be found on the web, especially since this is an open-source language, no?
