* Thus wrote John Holmes: > Tonny Robertus wrote: > > >is there any function to replace \n to <br> that we can see the results in > >html source code (not in preview)? > > $fixed = preg_replace("/(\r?\n)|\r/",'<br />',$oldstring);
again.. your the master of perfection :) unix, dos, mac.. no matter, it still works! Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php