Results 1 to 3 of 3

Thread: Any ideas on How?

  1. #1
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any ideas on How?

    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,

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thks for your help djr33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •