Hello All,
Here is the issue at hand. Im doing a system of taking attendance. I have a list of names randomly selected from a SQL database, using the ORDER BY RAND() function. These values are inserted into a dynamic table with radio buttons assigned to the particular name that comes up.
Example
http://web.njit.edu/~rfr2/attendance.php
Lets say we have a name: Jim Jones, and Right under that Jim Hong. How do i assign different values to those names within a loop. And be able to inserted the values into a DB. I have another page which takes the value of the radio button for the user, but it only takes one user. How can i make a loop to fix this?
I am using the HTTP_POST_Vars funciton, with a variable name from the radio button set as the post vars value.
Any suggestions?
Rich