SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast doubli's Avatar
    Join Date
    Sep 2001
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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 10:26.
    One of lifes luxuries ...

  2. #2
    SitePoint Zealot
    Join Date
    Oct 2001
    Location
    Dallas/Ft. Worth
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    re:

    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.

    Good luck!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •