PDA

View Full Version : Any ideas on How?



snic07
07-05-2007, 07:04 PM
Hi,

would anyone know how I would go about sending a link automatically when a web form is submitted?--this link would enable the reciepient to click and be taken back to this form if they wish. The web form is in html and when submitted has a php handler to post data to MYSQL( each submission has its own unique id ).

Is there somehow a way to use the php's mail() function in this? or something els.

Thanks for any help,

djr33
07-05-2007, 07:24 PM
Sure, it's possible.

You'll need to setup a user account system. The link can include a get variable, like ..../index.php?user=test1&submission=form3.

After that, you can just grab the submitted results from the database, put them back in the form, then let the user submit again, while keeping some sort of ID available to be sure that you are editing the record (by overwriting it, that is), rather than making a new record.

You could mail that link, or just give them an account they can log into.

snic07
07-06-2007, 02:48 PM
thks for your help djr33