NOTE: Undefined index: id in D:\phpStudy\WW\phpStudyTest\phpStudyTest\phpStudyTest\update.php line 2
WARNING: mysqli_fetch_assoc() expected argument 1 for mysqli_result, boolean given Set in D:\phpStudy\www\phpStudyTest\phpStudyTest\phpStudyTest\update.php on line 14
You have to post the code, otherwise I can show you where you made the mistake. I can only roughly judge that the variable you defined is not found. Check whether the variable is local or global? Was the file imported successfully? Class instantiation doesn’t have to wait