how call a variable in a text

From: Date: Wed, 21 Oct 2009 20:17:23 +0000
Subject: how call a variable in a text
Groups: php.general 
Request: Send a blank email to php-general+get-299164@lists.php.net to get a copy of this message
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?

« previous php.general (#299164) next »