Jump to content
Larry Ullman's Book Forums

erabxes

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by erabxes

  1. I have a form like the one below which is posted to processForm.php, and the user can dynamically add more with jquery. <input type="text" name="subject[ ]" /> <input type="text" name="grade[ ]" /> <input type="text" name="year[ ]" /> <input type="text" name="subject[ ]" /> <input type="text" name="grade[ ]" /> <input type="text" name="year[ ]" /> <input type="text" name="subject[ ]" /> <input type="text" name="grade[ ]" /> <input type="text" name="year[ ]" /> Please How can i access those arrays from subject[], grade[] and year[] inputs by the user?
  2. Hello! Please I would want to be able allow users select options from a list of selections as many times as possible using php, how do i achieve that? Below is a form for better description of what i desire to do <html><body> <form action="" method="post"> <p>You can enter your subjects as many times as possible</p> <select> <option>English</option> <option>Mathematics</option> <option>Physics</option> <option>Chemistry</option> <option>Biology</option> </select> <select> <option>A</option> <option>B</option> <option>C</option> </select> <select> <option>2012</option> <option>2011</option> <option>2010</option> </select> <Input type="button" value="enter"> </form> </body> </html> --------------------end Supposing the user want to enter 5 subjects with their respective grades and year, how do you make the html and php do this jointly or would one require Javascript to do this? Please I need your assistance!
×
×
  • Create New...