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]
|