I 'll send a mail in html form using php5.

cat send.php
<?php
$variable="date1" ;
..
..
$message='

<b> There is a text $variable  trial. </b>
';

mail($to, $subject, $message, $headers) ;
?>

when I run send.php, I get the mail. But I can't call variable called variable. it comes as string. How can I correct this?

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

Reply via email to