im stumped here when i run my code in the browser i get no errors, it just kills the script.
yet when i run the query in phpmyadmin it returns "NULL"
the query i run in phpmyadmin:
SELECT SUM(FlightTime)as sumhours FROM pireps WHERE PilotID='VAI0213'
any ideas?
it should return 0 as there are no rows in the database with a PilotID of VAI0213