Welcome Guest, Not a member yet? Register   Sign In
$_POST values with a dynamic list
#5

[eluser]tomcode[/eluser]
Both the hidden field and the submit button are repeated in the loop. So Your form will consist of multiple elements having the same id / name.

The name and the id attributes are supposed to be unique.

The name attribute is used to build the $_POST data, so if it's not unique then of course the data gets scrambled.


Messages In This Thread
$_POST values with a dynamic list - by El Forum - 08-12-2009, 03:26 AM
$_POST values with a dynamic list - by El Forum - 08-12-2009, 04:31 AM
$_POST values with a dynamic list - by El Forum - 08-12-2009, 04:39 AM
$_POST values with a dynamic list - by El Forum - 08-12-2009, 05:06 AM
$_POST values with a dynamic list - by El Forum - 08-12-2009, 05:15 AM
$_POST values with a dynamic list - by El Forum - 08-12-2009, 05:36 AM
$_POST values with a dynamic list - by El Forum - 08-12-2009, 06:05 AM
$_POST values with a dynamic list - by El Forum - 08-13-2009, 05:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB