$message = ""

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • techjohnny@gmail.com

    $message = ""

    Hello Group:

    I'd like to only send input to an e-mail from a form.

    User enters information in to text box called Room, but nothing in
    Room2. Currently, message is sent like this is user leaves Room2
    empty:

    Room: Bedroom
    Room2:

    BEGIN----------------------------------------------------------------------------------------------------------------------------
    $message = "
    Room: ".$Room."
    Room2: ".$Room2."
    ";

    $message = stripslashes($m essage);
    mail("demo@demo .com","Form Submitted at your website",$messa ge,"From:
    Form");
    END----------------------------------------------------------------------------------------------------------------------------

    Thanks,

    --JP

Working...