[PHP] Breaking up a line and using the text?

2001-02-05 Thread Sam
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

Re: [PHP] Breaking up a line and using the text?

2001-02-05 Thread Steve Werby
"Sam" [EMAIL PROTECTED] wrote: I was wondering if it is possible to break up a line of text from a database, and split it into separate links, Original line Hi my name is Sam Rose Which can then be broken down into Hi My Names is Sam Rose Sam, do you want to turn them into hyperlinks?

Re: [PHP] Breaking up a line and using the text?

2001-02-05 Thread Christian Reiniger
On Monday 05 February 2001 13:59, jaskirat wrote: $string = ereg_replace(" ","\n",$string) simpler and faster: str_replace(), explode() and split() Original line Hi my name is Sam Rose Which can then be broken down into Hi My Names is Sam Rose --