Re: [PHP] passing form variables with the same name

2002-12-05 Thread 1LT John W. Holmes
> I'd love to use an array, but I don't think you can pass an array value from > a form and have it work on the update script - e.g. input > name="Resource[0]"... Ah, but you can... You can use exactly what you just wrote and have $_POST['Resource'][0] in your processing script. Loop through that

[PHP] passing form variables with the same name

2002-12-05 Thread Doug Parker
I'm passing form variables from a script that is meant to display information to be updated in a mysql database, and it sends these to a script that updates the changed values. The problem is, I have a number of the same field being passed. For example, I have two fields in an html form - Res