Page 1 of 1
Dynamic Forms with PHP
Posted: Sun Oct 04, 2015 7:59 am
by erigits
i have a form with information to be submitted to the database using PHP, the form has dynamic fields where the user can be able to add more form fields dynamically, but when I submit the form, only one set of generated dynamic form field is submitted,
how can i submit all information add by dynamic form fields using PHP
example
http://demo.techstream.org/Dynamic-Form ... -with-PHP/
Re: Dynamic Forms with PHP
Posted: Sun Oct 04, 2015 9:39 am
by Celauran
What does your code look like? BX_gender and BX_birth should be arrays, not strings. The first two, name and age, look to be correct insofar as the form is concerned.
Re: Dynamic Forms with PHP
Posted: Sun Oct 04, 2015 9:52 am
by erigits
@Celaura, thak for reply, that was just a example, i have the form same as that example all i want is PHP code to Add multiple inputs with same name to mysql database
i.e.
http://stackoverflow.com/questions/2407 ... l-database
Re: Dynamic Forms with PHP
Posted: Sun Oct 04, 2015 10:07 am
by Celauran
Well, what have you got so far and where are you running into problems?
Re: Dynamic Forms with PHP
Posted: Sun Oct 04, 2015 10:59 am
by erigits