You are here: Re: Newbie: Trouble trying to use strpos(target, bigstring) « PHP Programming Language « IT news, forums, messages
Re: Newbie: Trouble trying to use strpos(target, bigstring)

Posted by Geoff Berrow on 06/29/05 10:02

I noticed that Message-ID: <REM-2005jun28-007@Yahoo.Com> from Robert
Maas, see http://tinyurl.com/uh3t contained the following:

>Aha! Thanks much! I think I know the problem: The tutorial kept talking
>about finding needle in haystack, so in my mine it was "needle in
>haystack", "needle ... haystack", "strpos(needle haystack)"
>"strpos($needle, $haystack);"

To be honest, I think that's more logical. For instance in str_replace
the subject is last.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

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

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