Page 1 of 1

PHP and Javascript... Form help...

Posted: Sun Nov 06, 2005 11:45 am
by shoxlx
i have a javascript that allows a user to add/remove a text box from a form dynamically. i need help on how to process the form after the user adds/removes how many text boxes he/she wants.

Help plz... Shox

Posted: Sun Nov 06, 2005 5:11 pm
by feyd
name the field such that php can load it via an array method such as:

Code: Select all

<input type="text" name="foo[]" />
They data will be stored in $_POST['foo'] when passed via the post method..

Posted: Mon Nov 07, 2005 3:45 pm
by shoxlx
thank you...

shox