PHP Using PHP with MySQL Querying the Database with PHP Retrieving the Result Set


This is the error message I get in my browser when I attempt var_dump(results); "Notice: Undefined variable: results in C:\xampp\htdocs\shirts4mike\database.php on line 19 NULL"

1 Answer

Carlos Federico Puebla Larregle
Carlos Federico Puebla Larregle
21,071 Points

Have you defined the variable named "results" before using it as an argument in that "var_dump()"?