Notice: Undefined index: id in C:\www\designerxi.php on line 8

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