FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » String Question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: String Question [message #172800 is a reply to message #172799] Wed, 02 March 2011 21:27 Go to previous messageGo to previous message
Michael Fesser is currently offline  Michael Fesser
Messages: 215
Registered: September 2010
Karma:
Senior Member
.oO(Michael Fesser)

> .oO(Patrick)
>
>> Thanks. I came to that same conclusion and found that there are 2 spaces
>> between "ERROR:" and "duplicate" in the second string and only one in
>> the first. No way you could ever tell that from the output on the screen.
>
> Of course there are: In cases like this never look at the rendered HTML
> output, but at the source code. Or send a 'Content-Type: text/plain'
> header, so the browser will not interpret the received data as HTML.

Forgot one: Wrap your string in '<pre>…</pre>' tags, so the browser will
render it as plain text and not collapse whitespace like HTML does.

Micha
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: genuine adsence accounts Big offer
Next Topic: fgetcsv -- No error reporting?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 21:21:09 GMT 2024

Total time taken to generate the page: 0.03876 seconds