Look up htmlentities() in the php manual and see if it'll work for you.
Hugh
----- Original Message -----
From: "Merlin" <news.groups@xxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Thursday, March 30, 2006 1:28 AM
Subject: Outputting text "<?" how to?
Hi there,
I would like to output following text with php:
<?xml version="1.0" encoding="ISO-8859-1" ?>
How can I do that? I tried to escape the ? with \? but this did
not help.
Any ideas?
Thank you for any hint,
Merlin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/295 - Release Date: 3/28/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/295 - Release Date: 3/28/2006
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php