Page 1 of 1

Help with dynamic javascript/PHP array

Posted: Sun Mar 06, 2005 8:24 pm
by Kr4zy
Here's my deal: I'm making a website to keep score at a robotics competition. Because I don't expect there will actually be a strong wireless internet connection right at fieldside, I need a page that will act all client side so the person can keep score, then go back into the internet zone and update a database. What I have so far is here:
http://arrow-labs.com/firstScore/main.html.
What I'm having trouble figuring out is how to get the information from the 2 javascript arrays (penList and tetraList) into a PHP array on the next page to move into a database. I know I could do either query strings or make a ton of hidden form fields, but isn't there a better way?

Posted: Sun Mar 06, 2005 8:27 pm
by feyd
not really.. You could make a cookie (but that depends on the machine having Javascript allowed to set a cookie.)