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!
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
I cannot figure out the data that I submit is not being displayed in as the values when this form is sumitted. All said and done I will need the data to be added to a database.
The "field_count" works, when I type in 2 submit it reloads, and 2 is still the value of that input box. but the 3 other fields that have the _$i won't.
I updated my code, and it still won't display the values that have the _$i attached, I get the error message "Notice: Undefined index: model_$i in D:\Data\Inetpub\wwwroot\test_form.php on line 19" for each input.
The error says "model_$i" not "model_1" so I set it manually and it works, it seems as though in my value statement it is not parsing the "$i" part.