Reply to Re: [PHP] Content - strip...

Your name:

Reply:


Posted by Philip Hallstrom on 09/02/05 21:47

> Hi there!
>
> Anyone that has an easy solution to this?
>
> I have a string filled with content. A lot of content is before Jumping Jack
> flash
>
> I want the $content - string to start at Jumping Jack flash
>
> Is there any smart way of doing this?

Use strstr() to find the first occurence of "Jumping Jack flash".
Then use substr() to extract from that point to the end of the string into
a new string.

http://us2.php.net/strstr
http://us2.php.net/substr

-philip

[Back to original 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

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