Associate
- Joined
- 4 May 2003
- Posts
- 582
Guys.
I have a form which contains a table. The table is populated with data from a SQL database, using a PHP function.
The idea is that from this table a user will be able to check which user they wish to modify.
Within the form is a series of checkboxes that I intend a user to check, each check box corresponds to a row in the table. Each check box at present is named "Check1".
I am struggling on how to program PHP to only select data relating to the row that is checked. Does anyone know how to do this?
When the row is checked a user will click the "modify" button and then the $username vairable will be passed to the processing script. I know the syntax to pass the variable but I cannot work out how to only pass the variable relating to the row that has been checked.
Any help would be greatly appreciated as this is driving me crackers.
Thanks
I have a form which contains a table. The table is populated with data from a SQL database, using a PHP function.
The idea is that from this table a user will be able to check which user they wish to modify.
Within the form is a series of checkboxes that I intend a user to check, each check box corresponds to a row in the table. Each check box at present is named "Check1".
I am struggling on how to program PHP to only select data relating to the row that is checked. Does anyone know how to do this?
When the row is checked a user will click the "modify" button and then the $username vairable will be passed to the processing script. I know the syntax to pass the variable but I cannot work out how to only pass the variable relating to the row that has been checked.
Any help would be greatly appreciated as this is driving me crackers.
Thanks