Dynamic Forms with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
erigits
Forum Newbie
Posts: 3
Joined: Sun Oct 04, 2015 7:47 am

Dynamic Forms with PHP

Post 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/
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Dynamic Forms with PHP

Post 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.
erigits
Forum Newbie
Posts: 3
Joined: Sun Oct 04, 2015 7:47 am

Re: Dynamic Forms with PHP

Post 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
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Dynamic Forms with PHP

Post by Celauran »

Well, what have you got so far and where are you running into problems?
erigits
Forum Newbie
Posts: 3
Joined: Sun Oct 04, 2015 7:47 am

Re: Dynamic Forms with PHP

Post by erigits »

this what i have so far

http://venustagencies.com/addjob.txt
Post Reply