What am I doing wrong with this? I know its probably something obvious, I've just blanked.
if ( mysql_num_rows( $data ) = 0 ) { print pc_calendar( $month, $year ); }
I just get a parse error on the mysql_num_rows line...
cheers jason
Need ==, not =. Though, dunno if that would throw an error.
oh yeah, thanks. 😃