Hi All,
I have created the beginnings of an RSVP script so that people can
confirm/decline an invitation I send via email.
When they go to the RSVP script, (www.site.com/rsvp.php), they enter their
email address in the textfield (called email). The email entered is
validated against the email address in the database. If the validation
fails, then it says "The email address was not found in the database. Please
check the email address and try again."
If validation is successful, the user is given the option to confirm or
decline the invitation. This is done via a text link.
What I would like to do is this:
One link (<a href=confirm.ph p>confirm</a>) insert the word "confirmed" in
the option field in the database, the other link (<a
href=decline.ph p>confirm</a>) inserts the word "declined" in the option
field in the database. I am using PHP to do this. Has anyone done this
before? It seems simple, however, I can't quite get my head around it.
Any help would be greatly appreciated.
Thanks In Advance,
Justin Kozuch
Founder, Dreaming in TO
Netkeepers.ca - Proud to be a Hosting Sponsor for DreaminginTO.co m
w: http://www.dreamingNOSPAMinto.com
e: justin@dreaming NOSPAMinto.com
I have created the beginnings of an RSVP script so that people can
confirm/decline an invitation I send via email.
When they go to the RSVP script, (www.site.com/rsvp.php), they enter their
email address in the textfield (called email). The email entered is
validated against the email address in the database. If the validation
fails, then it says "The email address was not found in the database. Please
check the email address and try again."
If validation is successful, the user is given the option to confirm or
decline the invitation. This is done via a text link.
What I would like to do is this:
One link (<a href=confirm.ph p>confirm</a>) insert the word "confirmed" in
the option field in the database, the other link (<a
href=decline.ph p>confirm</a>) inserts the word "declined" in the option
field in the database. I am using PHP to do this. Has anyone done this
before? It seems simple, however, I can't quite get my head around it.
Any help would be greatly appreciated.
Thanks In Advance,
Justin Kozuch
Founder, Dreaming in TO
Netkeepers.ca - Proud to be a Hosting Sponsor for DreaminginTO.co m
w: http://www.dreamingNOSPAMinto.com
e: justin@dreaming NOSPAMinto.com
Comment