Hello:
I'm designing a site for an organization which sponsors a lot of events.
They want each event to have its own page along with a form for anyone who is interested to signup.
A person is able to signup for more than one event.
After a person is signed up for all the events for which they are interested, they want the site to have a page which displays all the events for which a person is registered. The person can review their registrations and do a final registration submission.
Is it possible to accomplish this task? How do I keep the website from remembering what a person chooses so they can receive their review page?
Any ideas and thoughts are greatly appreciated. Thank you for your help.
Passing information from page to page
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
store the information in a database..
some info to help: http://www.oreilly.com/catalog/javadtab ... r/ch02.pdf
some info to help: http://www.oreilly.com/catalog/javadtab ... r/ch02.pdf
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
have a table with id, firstname, lastname, event
then when the user wants to view what they have signed up for they can just go to a page and enter their name and it will pull from the db the events the person is signed up for. i definatly recommend using a simple register script for this one because someone can sign up a billion different people for events just to make you mad.
the query that would go for the view events i signed up for would be somtin like
or somthing simmilar to that
then when the user wants to view what they have signed up for they can just go to a page and enter their name and it will pull from the db the events the person is signed up for. i definatly recommend using a simple register script for this one because someone can sign up a billion different people for events just to make you mad.
the query that would go for the view events i signed up for would be somtin like
Code: Select all
$query = '
SELECT
*
FROM
table_name
WHERE
first_name = "'.$firstname.'"
AND
last_name = "'.$lastname.'"
';
$do_query = mysql_query($query) or die(mysql_error());
while ($info = mysql_fetch_assoc($do_query))
{
echo $info['event'].'<br>';
}