View Single Post
Old 07-31-2008, 07:42 PM   #5 (permalink)
Jako
The Wanderer
 
Join Date: Jun 2005
Posts: 21
Thanks: 1
Jako is on a distinguished road
Default

PHP Code:
$ages = array();

while(
$row mysql_fetch_assoc($result))
{
    
// Add a new element to the array with the age
    
$ages[] =  calculate_age($month$day$year);

Ok so I condensed it down to what I think I needed, but how do I input the age into there.

Like I said above, if $id = 23, how do I only display the results from the calculation function which are 23.
Jako is offline  
Reply With Quote