I tried putting error_reporting into my code, but all it did was print that to the screen. I checked my php.ini file and error_reporting was already set to E_ALL, however display_errors in php.ini was set to off. I changed it to On, however my browser still hangs whenever there is an error, and i dont know what is causing this. Any suggestions?