Yeat another Huh?

According to the midgard manual mgd_count_events_in_month should 
return an int. But when I try to print it it comes out as 'Array'.
And if i run the returned variable through gettype() it returns
'array' not 'integer'. 

$count = mgd_count_events_in_month(8, 2002);
print('There is ' . $count . ' events in aug 2002');
/* Literally prints: 'There is Array events in aug 2002' */

Am I doing something wrong here?

-- 
Fredrik Jonson
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to