array(0) { }
Warning: Undefined array key "id" in /home/nepo/public_html/acad276/LabW5_1/detailsSchedule.php on line 23

SQL
SELECT * FROM allScheduleID WHERE scheduleID =

Your SQL:
SELECT * FROM allScheduleID WHERE scheduleID =

SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1