You are here: Re: year in a (****) format « PHP Programming Language « IT news, forums, messages
Re: year in a (****) format

Posted by Jeff on 03/27/07 21:24

$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.

print_r() just prints to the browser a representation of the
variable. So it is showing you that it is an Array and shows all of
the items in the array.

 

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

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