Re: Re: A Bug in string '<br><br> e<D'?
| From: | Jasper Bryant-Greene | Date: | Mon, 27 Jun 2005 03:05:35 +0000 |
| Subject: | Re: Re: A Bug in string '<br><br> e<D'? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217667@lists.php.net to get a copy of this message | ||
Kevin L'Huillier wrote:
> Could you copy the relevant code into a message? Seeing
> pseudo-script is different from seeing what you are actually
> doing.
Sure, either set the content-type to text/plain (to see the raw string
rather than have the browser interpret it as HTML), like this:
<?php
header('Content-Type: text/plain; charset=utf-8');
?>
or htmlspecialchars the string, like this:
<?php
print(htmlspecialchars($your_sql_string));
?>
Or just view source in your browser to see the raw string.
Jasper