Results 1 to 2 of 2
Oct 24, 2001, 09:20 #1
I've got a lot of questions today ...
AS well as http://www.sitepointforums.com/showt...threadid=37766
I've got another question ...
Got three forms
Step 1 - Add data (uses select boxes but only one value is allowed - adds data to mysql table)
Step 2 - Select data to edit (HTML table showing mysql table data, radio button that allows you to choose what item you wish to edit
Step 3 - Edit data, using data passed in by number 2 you can edit a row in the database
In Step 1 I ask for example what section the news article should go in, using a drop down list ... user selects Latest News with a value of 4
In Step 2, I select this and pass the data into Step 3
In Step 3, I want to display the same drop down list - but the selected item should default to the value (in this case 4) and display the correct thing (ie Latest News)
Last edited by doubli; Oct 24, 2001 at 09:26.One of lifes luxuries ...
Oct 24, 2001, 19:06 #2
- Join Date
- Oct 2001
- Dallas/Ft. Worth
- 0 Post(s)
- 0 Thread(s)
I've seen your issue about select box defaulting to the selected item somewhere on the net and the person solved it with little bit of Perl. If you search on google.com something like "select option php automatic" you should come across this site.