RE: email form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When you use single quotes to define your strings php variables will not
be replaced.

Try
$message = "...$customer..";

You will have to escape all double quotes used in the string (\") or use
single quote.

- Frank


> This is where I am stuck, I can not get the variables to be placed in
to
> the email.
> 
> /* message */
> $message = '
> <html>
> <head>
>  <title>Quote Request</title>
> </head>
> <body>
> <font size="4" face="Arial, Helvetica, sans-serif" font
color="#FF0000">
> 
>  <table width="105%" border="0" cellspacing="3" cellpadding="2">
>           <tr>   
>             <td width="123" height="26"><font size="2" face="Arial,
> Helvetica, sans-serif">Customer:  = "$customer"
>               </font></td>
> etc.....
> 
> I believe that I am not using the proper syntax for placing the
customer
> field ($customer)
> 
> The form still emails, but with no data in there, just he input as I
> have put it
> 
> 
> -----Original Message-----
> From: Ryan Holowaychuk [mailto:ryan@hgilive.com] 
> Sent: Tuesday, December 10, 2002 3:23 PM
> To: php-db@lists.php.net
> Subject:  email form
> 
> I am trying to figure out how to take the data that I have collected in
> a form and format it into another page basically a bunch of tables and
> graphics, and then email that form to a specific email address.
> 
> I have been able to get it to collect, place into the page, but now how
> to email the complete form??
> 
> Does anybody have an idea???
> 
> Thanks
> Ryan
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux