|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
looping Question
Hi
I am submitting a list from a form into a mysql database, the list has 6 fields but for some reason the php I am using is only entering the last field of the form. I am guessing I need to loop the php but need a little advice on how to do this. PHP Code:
This is the code I have been using. Thanks John |
|
#2
|
|||
|
|||
|
I think this can be solved by naming your form elements with [] after them to create an array as the result rather than getting a single item. Hard to know without seeing the form that you are using though, so if you could post it up I can have alook.
|
|
#3
|
|||
|
|||
|
Yes, you should post the html form code.
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > looping Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|