You are here: Re: Easy ereg() question « PHP Programming Language « IT news, forums, messages
Re: Easy ereg() question

Posted by news on 09/18/05 02:37

Mike Willbanks wrote:
> Liam,
>
> Instead of ereg you should always use preg_match because it is faster
> than ereg. Also part of your reason that it is matching any number of
> digit is because what you are actually asking for is to test that there
> is one or two digits in the rule...
>

Thanks! And replier Juliette as well. Much appreciated!
The ^ and $ are regex components that seem pretty basic, but I guess I
completely overlooked their explanation. =/

Thanks
Liam

 

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

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