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

error-on-$results-variable

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,068 Points

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