Hello
I want to create a script that creates POST’s as per a tables contents
Table Structure
ID NAME ACTIVE
1 BOO 1
2 DOO 1
3 KOO 1
4 FOO 1
The above is my table structure. Right now everything is set to active so I would place this as my POST VARS.
$_POST[‘1’]
$
$_POST[‘3’]
$
Now I manually set them on the belief that there would also be 4 ID’s. If one was to become inactive, lets say ID 3 did. Then all that should be displayed is:
$_POST[‘1’]
$
$_POST[‘4’]
How do I achieve this? How can I make it work. I believe I would use some type of while loop with the _POST command. It appears to not work when I do this though.