[Gllug] mySQL and PHP

will will at hellacool.co.uk
Tue Jul 10 12:22:59 UTC 2001


----- Original Message -----
From: Jackson, Harry <HJackson at colt-telecom.com>
To: <gllug at linux.co.uk>
Sent: Tuesday, July 10, 2001 1:05 PM
Subject: RE: [Gllug] mySQL and PHP


> Hi
>
> At the moment we are getting this.
>
> 12 March 2001 13:40:32 jtaylor This is something for Group IT. 12 March
2001
<snip>
> AR_ESCALATOR Case 000000000033514 was automatically closed on 05/01/01
> 14:36:16.
>
> When it should look like this, the problem that I see here is that there
is
> nothing that you can see which would distinguish new lines.
>
> 12 March 2001 13:40:32          jtaylor
> This is something for Group IT.
<snipety snip>

If this is for a webpage, try replacing all '\n' line breaks with '<br>\n'
this works on n*x, but I don't know about NT.  You may have to play around
with the line break character.  In PHP try the line

$variable_with_text_in_it = eregi_replace("\n", "<br>\n",
$variable_with_text_in_it );

will.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list