You are here: Re: JS/PHP Integration « PHP Programming Language « IT news, forums, messages
Re: JS/PHP Integration

Posted by Hendri Kurniawan on 04/27/07 22:39

ashore wrote:
> Guys, the addslashes didn't work for me, tho I agree they shd! But
> tell me why the following PHP didn't wrk:
>
> $phpfoo = "\n\n\n";
>
> print str_replace('\n' ,'ZZZZZZZZZZZZZ' ,$phpfoo);
>
> AS
>

Because of the single quote.
PHP process "\n", but does not process '\n';

Hendri

 

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

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