Alegis
04-30-2006, 08:00 AM
Perhaps more SQL related than php
It's a small project, where a class of ~20 students submits a questionnaire to database (questions with values ranging from -2 to 2). I only wish them to be able to send in a form once.
I was thinking of generating x passkeys, insert them into a SQL table. The questionnaire should check if the given passkey is in that table, and if so send the form data to the correct table and remove the passkey from the list.
Of course I'm a PhP/SQL newbie and faced a brick wall. Any tips/hints to get me back on track ?
Thanks in advance
It's a small project, where a class of ~20 students submits a questionnaire to database (questions with values ranging from -2 to 2). I only wish them to be able to send in a form once.
I was thinking of generating x passkeys, insert them into a SQL table. The questionnaire should check if the given passkey is in that table, and if so send the form data to the correct table and remove the passkey from the list.
Of course I'm a PhP/SQL newbie and faced a brick wall. Any tips/hints to get me back on track ?
Thanks in advance