Ok, for those who have helped me with my project over the last couple fo days, A BIG THANKS is needed.
For those who haven't, heres your chance.
I have a javascript array - tmpArray(100)
The data in the elements are numbers (note: not all elements are have data in, some are returning as 'undefined'.
I need to extract each value from the array so I can use the numbers in updating a database using PHP.
e.g say tmpArryay[1] = 3, tmpArray[2] = 34
I want
UPDATE seats SET seat_status='BOOKED' WHERE seat_number = 3;
UPDATE seats SET seat_status='BOOKED' WHERE seat_number = 34;
Many thanks again