TechnoWeenie
MIS
What I'm trying to do:
pass information from a form to a page that will process the information.
On the form page it pulls up a list of unassigned inventory and displays it along with a check box. You can choose what you want to assign by clicking the check box next to the item and click the sumbit button and it works fine..if you only choose the items on top of the list. If you choose something lower down on the list the processing page errors out.
When I'm builing the list I have it count each time it displays something and give that value to the check box name(example <input type='checkbox' name='E4' value='9'>) E=equipment the 4 is the fourth time that is has displayed an item and the value is the items value in the DB.
Now here is the issue. Say this item above was the only item passed to the processing page. How do I know that only E4=9 is the only thing that was passed? If I try to count up from 1 I will get errors until I get to 4 and then it will process.
pass information from a form to a page that will process the information.
On the form page it pulls up a list of unassigned inventory and displays it along with a check box. You can choose what you want to assign by clicking the check box next to the item and click the sumbit button and it works fine..if you only choose the items on top of the list. If you choose something lower down on the list the processing page errors out.
When I'm builing the list I have it count each time it displays something and give that value to the check box name(example <input type='checkbox' name='E4' value='9'>) E=equipment the 4 is the fourth time that is has displayed an item and the value is the items value in the DB.
Now here is the issue. Say this item above was the only item passed to the processing page. How do I know that only E4=9 is the only thing that was passed? If I try to count up from 1 I will get errors until I get to 4 and then it will process.