You are here: Re: Delete new lines « PHP Programming Language « IT news, forums, messages
Re: Delete new lines

Posted by Lars Eighner on 10/05/07 10:41

In our last episode, <1191579220.902577.65950@o3g2000hsb.googlegroups.com>,
the lovely and talented Defacta broadcast on comp.lang.php:

> Hello,

> I would like to delete the new lines, I mean the \n, so Itried this:

> str_replace($row['facts_content'], "\n", "") ;


> But the new lines are still there, how can I do ?

You might try putting the arguments in the right order. RTFM.


--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 473 days to go.
What do you do when you're debranded?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация