Reply to Re: year in a (****) format

Your name:

Reply:


Posted by william.clarke on 03/28/07 22:01

On Mar 28, 8:10 am, Krustov <m...@privacy.net> wrote:
> <comp.lang.php>
> <Jeff>
> <27 Mar 2007 14:24:26 -0700>
> <1175030666.462536.152...@y66g2000hsf.googlegroups.com>
>
> > $matches is an array that you can then access directly.
>
> > So you could do
>
> > foreach($matches as $year)
> > {
> > print "<br>- " . $year;
> > }
>
> > Changing the print to whatever you need to do.
>
> Array
>
> I tried something similar earlier tonight and like your own code the
> only thing it done was display Array .
>
> BTW: how can you find out how many matches are found .

try echo count($matches); This will tell you how many elements there
are in the array (which should be the number of matches).

[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

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