The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 8 of 8

Thread: Help with using PHP

  1. #1

    Help with using PHP

    HI. I am trying to make a form using PHP and Dreamweaver to email me the results when it is submitted I've tried several different tutorials but can't seem to get this to work. When the form submit button is pushed it sends me to the PHP page instead of sending to the Thank you page and emailing me the results. Any ideas??

    Thank you,

  2. #2
    PHP Code:
    $email "";
    $subject "Blabla";
    $message "Hello world";
    if ( 
    mail($email$subject$message) ) {
    } else {

    AS2 / AS3 / JS / JQUERY / (X)HTML / HTML5 / CSS / CSS3 / PHP

  3. #3
    Thank you. So this is all i need in my PHP? and then change to my email address. so when I hit submit it should go to my thank you page and email me the results??

  4. #4
    jwilliam's Avatar
    An intellectual carrot!
    I googled "php contact form tutorial" and the #1 result was actually on Check this out:

    If that doesn't get you closer, let us know. Good luck!

  5. #5
    I followed this step by step but it still just goes to the PHP I hit submit?!?!?!?

  6. #6
    Never mind I have figured out what I was doing wrong on this! THANK you for your help!!!!

  7. #7
    Well I had it working with the tutorial but when I use my own form I cannot get it to work correctly. When you have several questions of radio buttons do they all receive the "name=radio" and same with checkbox?

  8. #8
    jwilliam's Avatar
    An intellectual carrot!
    It depends. Each "group" of radio buttons get the same name and different values. Then, when the form is submitted, the value of the radio button that was checked gets put into the hash with a key that is the same as the name. If you can't get it working, post your code with an explanation of what you're expecting it to do and we can probably get it going.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012