You are here: Re: selecting specific tag « PHP Programming Language « IT news, forums, messages
Re: selecting specific tag

Posted by Stephen Kay on 04/04/06 02:23

in article 1144097526.838524.134820@i40g2000cwc.googlegroups.com, milahu at
milahu@googlemail.com wrote on 4/3/06 4:52 PM:

> preg_replace(
> '/(<body.*?>)/i',
> '<!-- Body tag was here -->',
> $content
> );

Thank you! Works great.

I'll be sure to look into those tutorials - 1 question: what does the /i at
the end of the pattern mean?

--
Stephen Kay
Karma-Lab sk@karma-lab.NOSPAM.com
^^^^^^^

 

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

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