Re: Re: A Bug in string '<br><br> e<D'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux