[thelist] PHP Mail variables?

Waller, Rio RWaller at fresno.ca.gov
Mon Dec 10 12:05:46 CST 2001


Thanks Dave!

I tried that but now I don't get anything on the email message for
company...here is my code for the message body...maybe I'm doing something
wrong in here:

if ($action == "send_mail") {
        $now = date("D dS M h:m:s");
        $message  = "Here is information submitted on the Order Page at\n";
        $message .= $now."\n";
        $message .= "Domain Name:            ".$exNewDomainName."\n";
        $message .= "Number Domain Years:    ".$exRegPeriod."\n";
        $message .= "Total Domain Reg Cost:  ".$total."\n";
        $message .= "Plan:                   ".$Plan."\n";
        $message .= "First Name:             ".$FirstName."\n";
        $message .= "Last Name:              ".$LastName."\n";
        $message .= "Company:                ".$Company."\n";
        $message .= "Address:                ".$Address."\n";
        $message .= "City:                   ".$City."\n";
        $message .= "State:                  ".$State."\n";
        $message .= "Zip:                    ".$Zip."\n";
        $message .= "Phone:                  ".$Phone."\n";
        $message .= "Email:                  ".$Email."\n";
        $message .= "Country:                ".$Country."\n";
        $message .= "Contract Length:        ".$exContractLength."\n"; 
        
       mail("sales at mydomain.com", "Online Form", $message)
       ?>

Again...thanks for you assistance! :)



 -----Original Message-----
From: 	Dave Preston [mailto:caffiend at simianbrotherhood.org] 
Sent:	Monday, December 10, 2001 9:40 AM
To:	thelist at lists.evolt.org
Subject:	Re: [thelist] PHP Mail variables?

try this instead..

<input type="hidden" name="Company" value="<? $Company; ?>">


should work a little better for you...

-d


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list