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 '
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
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
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
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,
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
6 matches
Mail list logo