On Thu, 02 Sep 2004 01:08:20 -0400, John Holmes <[EMAIL PROTECTED]>
wrote:
Curt Zirzow wrote:
$fixed = preg_replace("/(\r?\n)|\r/",'',$oldstring);
on retrosopect.. reading into that regex i get:
unix: sets the standard to use \n
windows: can't really decide on \r or \n so just uses them both
m
Curt Zirzow wrote:
$fixed = preg_replace("/(\r?\n)|\r/",'',$oldstring);
on retrosopect.. reading into that regex i get:
unix: sets the standard to use \n
windows: can't really decide on \r or \n so just uses them both
mac: goes oposite of everybody and used \r instead.
It seems OS's can simply be d
* Thus wrote Curt Zirzow:
> * Thus wrote John Holmes:
> > Tonny Robertus wrote:
> >
> > >is there any function to replace \n to that we can see the results in
> > >html source code (not in preview)?
> >
> > $fixed = preg_replace("/(\r?\n)|\r/",'',$oldstring);
on retrosopect.. reading into that
* Thus wrote John Holmes:
> Tonny Robertus wrote:
>
> >is there any function to replace \n to that we can see the results in
> >html source code (not in preview)?
>
> $fixed = preg_replace("/(\r?\n)|\r/",'',$oldstring);
again.. your the master of perfection :)
unix, dos, mac.. no matter, it s
Tonny Robertus wrote:
is there any function to replace \n to that we can see the results in
html source code (not in preview)?
$fixed = preg_replace("/(\r?\n)|\r/",'',$oldstring);
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Pr
5 matches
Mail list logo