Heredoc question

From: Date: Thu, 05 Jun 2003 22:42:52 +0000
Subject: Heredoc question
Groups: php.general 
Request: Send a blank email to php-general+get-150422@lists.php.net to get a copy of this message
Can one use <?php ?> within the heredoc syntax or is there another way?? I'm trying to dynamically generate email from generic text but with obvious additions, like this: $message = <<<my_message Name: <?php echo $lot->get_name(); ?> Lot <php echo $lot->get_id(); ?> has been approved. Here is the link to the lot: my_message; Robin E. Kopetzky Black Mesa Computers/Internet Services www.blackmesa-isp.net

« previous php.general (#150422) next »