Notice: Undefined index: student_name in C:\xampp\htdo

A

Anonymous

Guest
Hi,

Does the students table have a column called student_name in it?
In your SQL statement, it's recommended to specify which fields you are SELECTing.
Also make use of var_dump() to debug your code.

Specifically:

var_dump($student);

That will help show you what data that variable contains and how to access it.

Hope that helps,
Jon
 
Back
Top