[PHP] Re: A Bug in string 'brbr eD'?
cchereTieShou wrote: You can actually try to use this to verify the problem: echo 'brbr eD'; What you get? I got D Quite confusing. Anyone think this is a bug or something I missed? Are you viewing this via a web server? It's probably returning content-type text/html, which means that you might need to htmlspecialchars() that string. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: A Bug in string 'brbr eD'?
Are you viewing this via a web server? It's probably returning content-type text/html, which means that you might need to htmlspecialchars() that string. That's what i was thinking. It looks like how some browsers would render that string. Could you copy the relevant code into a message? Seeing pseudo-script is different from seeing what you are actually doing. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: A Bug in string 'brbr eD'?
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
Re: [PHP] Re: A Bug in string 'brbr eD'?
On 26/06/05, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Kevin L'Huillier wrote: Could you copy the relevant code into a message? 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: Sorry, Jasper. I meant the original poster of this thread. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: A Bug in string 'brbr eD'?
Kevin L'Huillier wrote: On 26/06/05, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Kevin L'Huillier wrote: Could you copy the relevant code into a message? 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: Sorry, Jasper. I meant the original poster of this thread. No problem, Kevin. In future, though, please remember not to Reply All as getting the same email two or three times can be annoying! Cheers Jasper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php