Jump to content

morraine

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

morraine's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you both for you input! hitman6003 i think i will use you solution because i was thinking of a way to collect the data regardless of the amount of sections in the form because i may add more identical sections with javascript but your solution would compensate for any amount of section. Great! thanks guys
  2. hello, im trying to process a form which has 10 identical sections with some kind of loop. the form is like <INPUT type=checkbox value=Yes name=fieldcheck1> <INPUT size=42 name=name1> <INPUT size=42 name=phone1> <INPUT size=42 name=address1> <INPUT type=checkbox value=Yes name=fieldcheck2> <INPUT size=42 name=name2> <INPUT size=42 name=phone2> <INPUT size=42 name=address2> <INPUT type=checkbox value=Yes name=fieldcheck3> <INPUT size=42 name=name3> <INPUT size=42 name=phone3> <INPUT size=42 name=address3> and on to like this 10 times now i m trying to colect the data from each section of the form with a loop that will check the check box and if its YES then it will insert the data for the section into the database and then increment the varibles number and do the same for the next section until it gets to the end with no sections left to save to database. does any one know how to setup a while loop to do this?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.