SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to send the form data to email as well as to store it in database

    Hi

    ALL


    I want to send the booking form data to database table and also I want to send the same to any email Id.

    <form action=c:\test\booking.php>

    In booking.php I wrote the procedure to store the data into database. I don't know how to send the same data to email Id


    Please help me out

    Thanks & Regards

    MD.Samiuddin

  2. #2
    ¬.¬ shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply

    but I want to know that I should keep the php email function after sending the data to database in the same file

  4. #4
    SitePoint Zealot
    Join Date
    Feb 2005
    Location
    Aveiro, Portugal
    Posts
    164
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sure, The PHP mail function should be placed in booking.php.

    Insert the form data to the database and then send the email.
    Yours truely
    Mário Ramos


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
  •