RE: [PHP] Print in html <?
| From: | PHPBeginner.com | Date: | Thu, 22 Feb 2001 11:14:41 +0000 |
| Subject: | RE: [PHP] Print in html <? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41136@lists.php.net to get a copy of this message | ||
However I think double quote will work as well... (am I wrong?)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Hrishi [mailto:hrishi@mediaibc.com]
Sent: Thursday, February 22, 2001 4:12 AM
To: Brandon Orther; PHP User Group
Subject: Re: [PHP] Print in html <?
On Thursday 22 February 2001 00:12, Brandon Orther wrote:
> Hello,
>
> I am trying to finish up a script with instructions on how to add my
banner
> add script to someone's .phtml file. I need to print <? readfile(""); ?>
use :
echo '<? yaddayadda ?>';
the single quotes ensure that php does not evaluate the contents of the
string constant
cheers,
hrishi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net