Fatal error: Call to a member function query() on a non-object in /home/idolscheduler/www/setnames.php on line 6