I have a project tham I am working on that somewhat resembles a shopping cart. When a customer orders a product, their order details go into a textfile. This textfile contains the ordernum, skunum, itemname, qty, item ordered price, tax, shipping, and the complete order total. I have a .pl file that reads all the information that is in the file, adds a checkbox to mark the order complete, and its own submit button to submit it to the other perl program. When the other perl program is called, it should pick up the specific ordernum, skunum, etc and mark the order either finished or open depending if the checkbox was clicked.
I'm having trouble with the second perl file. When I run mine, it only picks up the first order, even if it's submit wasn't clicked. I have attached the files to this post.
If anyone has any ideas, it would be greatly appreciated.
Thanks,
Ed