However I think double quote will work as well...  (am I wrong?)


Sincerely,

 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com





-----Original Message-----
From: Hrishi [mailto:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to