Notice: Undefined index: id in C:\www\newsxi.php on line 5

Fatal error: Call to a member function fetch_assoc() on a non-object in C:\www\manage\api\mysqliclass.php on line 77