Figured it out. The name of the table was "Person" instead of "person"...First letter was a capital "P" I didn't realize that the sql was case-sensitive. -- View this message in context: http://www.nabble.com/Can%27t-figure-out-why-getting-%22query-was-empty%22-error-tf2876259.html#a8039436 Sent from the Php - Database mailing list archive at Nabble.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php