Re: Breaking up a line and using the text?

From: Date: Mon, 05 Feb 2001 12:59:18 +0000
Subject: Re: Breaking up a line and using the text?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38226@lists.php.net to get a copy of this message
Hi, Read about ereg_replace() function in PHP. some thing like $string = ereg_replace(" ","\n",$string) should do the trick for you. HTH Jaski At 01:00 PM 2/5/01 +0000, Sam wrote: >Hi all, > >I was wondering if it is possible to break up a line of text from a >database, and split it into separate links, > >eg > >Original line > Hi my name is Sam Rose > >Which can then be broken down into > Hi > My > Names > is > Sam Rose > >Thanks in advance >Sam > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#38226) next »