Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: PHP Emailing

  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP Emailing

    Hi all PHP gurus, seriously appreciate those who can help me in this.

    I had created a 'Contact Us' page using html whereby visitors are able to send any of their enquires or message to me. Those Emails will then be send to my database (mySQL)

    Next, I had also created an 'Admin Login Panel', the question is
    how do I code it so that I could receive and display read those emails (retrieve from database) from visitors in the Admin Login Panel using mySQL and PHP.

    Really need help over here. Thanks!

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Just retrieve them from your DB and display on the required page, see http://www.tizag.com/mysqlTutorial/mysqlselect.php for a simple example
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks abduraooft for the headup. i get it.

    but sorry i forgot to include..

    first step, how do i make the connection or link the 'Contact Us' page form (fields are full name, email, topic and message) to database?

    As in where they click 'Send' button, the email will be send (store) to my database?

    thanks!

  • #4
    Regular Coder
    Join Date
    Nov 2007
    Location
    Leeds, UK
    Posts
    514
    Thanks
    24
    Thanked 19 Times in 19 Posts
    why DB it
    Just read how to use php mail
    http://www.php.net/mail

    it is realy easy to use


  •  

    Posting Permissions

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