$menu2 $menu 
$ppclose
PPPRINT; ?>
MySQL error reported!

Script:

Query: SELECT user,userid,COUNT(*) AS pcount FROM photos GROUP BY user ORDER BY pcount DESC

Result: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'multiplandc_gif.photos.userid' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

Database handle: Resource id #6