Re: [PHP] Outputting text "

2006-03-30 Thread Jasper Bryant-Greene
tedd wrote: Merlin: First the syntax should be: <-- note the close / No, that is invalid XML. The specification is available at http://www.w3.org/TR/XML11 (and makes riveting reading! ;) [snip] If you want to print it to a web page, try: EOD; echo($a); echo '

Re: [PHP] Outputting text "

2006-03-30 Thread tedd
At 11:28 AM +0200 3/30/06, Merlin wrote: Hi there, I would like to output following text with php: How can I do that? I tried to escape the ? with \? but this did not help. Any ideas? Thank you for any hint, Merlin Merlin: First the syntax should be: <-- note the close / Second, to

Re: [PHP] Outputting text "

2006-03-30 Thread Hugh Danaher
Look up htmlentities() in the php manual and see if it'll work for you. Hugh - Original Message - From: "Merlin" <[EMAIL PROTECTED]> To: Sent: Thursday, March 30, 2006 1:28 AM Subject: [PHP] Outputting text " Hi there, I would like to output following tex

Re: [PHP] Outputting text "

2006-03-30 Thread Jasper Bryant-Greene
Merlin wrote: Hi there, I would like to output following text with php: How can I do that? I tried to escape the ? with \? but this did not help. Either: 1. Turn off short tags (good idea if you plan on distributing your code). 2. Just echo or print that text. Like: ' . "\n"; ?> -- Jaspe

Re: [PHP] Outputting text "

2006-03-30 Thread nicolas figaro
Merlin a écrit : Hi there, I would like to output following text with php: How can I do that? I tried to escape the ? with \? but this did not help. htmlentities perhaps ? N F Any ideas? Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Outputting text "

2006-03-30 Thread Merlin
Hi there, I would like to output following text with php: 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