#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    20
    Rep Power
    0
    If I have a select element of a form that have the MULTIPLE attribute with name="temp", what will the variable names be in the action page (POST)?

    Will the first one be $temp[1], second $temp[2] and so one?

    This does not appear to be the case.

    Thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 1999
    Posts
    114
    Rep Power
    16
    Name it "temp[]". Then the first one will be $temp[0], the next $temp[1], and so on.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    20
    Rep Power
    0
    Worked like a champ. Thanks

Similar Threads

  1. Forms - multiple action & required fields!
    By jedi_ralf in forum Beginner Programming
    Replies: 5
    Last Post: February 11th, 2004, 02:40 PM
  2. multiple searches using php
    By lizzy_b100 in forum PHP Development
    Replies: 14
    Last Post: February 10th, 2004, 11:26 AM
  3. Updating text fields from dynamic SQL select box?
    By Trent Hatred in forum HTML Programming
    Replies: 3
    Last Post: February 6th, 2004, 10:34 AM
  4. Replies: 2
    Last Post: January 27th, 2004, 03:34 PM
  5. Inserting from form to multiple tables
    By barth in forum MySQL Help
    Replies: 0
    Last Post: January 25th, 2004, 09:27 AM

IMN logo majestic logo threadwatch logo seochat tools logo