im working on a quiz web application in php and mysql, i have a user table and quizes table, the admin has access to a table with the quizes name and a checkbox besides every quiz...
lets say theres 10 quizes numbered from 1 to 10, each one of this corresponds to a quiz in mysql,
when you click on the checkbox besides a quiz and hit SEND, that particular quiz is available to a certain user (that on a previous page i already chose) but on that same page i want to put input fields with a time and a date, and that quiz will only be available from the present time to the input date and time....
the user table has a column for every quiz named is_available with default to zero, i want that value change to 1 when that user and quiz are chosen and change back to zero when the date has passed..
i have been thinking how to do this but i have no clue, any ideas or guidelines of where to go or how to start doing this??? i need heeeelp! hehe