PHP Web Dev 101 PHP Web Dev 101 - 1 year ago 194
PHP Question

Fatal error: Uncaught exception 'Exception'

I get this error:

Fatal error: Uncaught exception 'Exception' in /home/u569177978/public_html/app_data/mysqldao.php:68 Stack trace: #0 /home/u569177978/public_html/app_data/userRegister.php(36): MySQLDao->registerUser('wesdfed', 'wefrd') #1 {main} thrown in /home/u569177978/public_html/app_data/mysqldao.php on line 68

from the following script:

Yes, I have looked up this problem and none of those solutions have worked for me. Please help.

Answer Source

Mysqli::prepare() returns false if the provided SQL is invalid. I would double-check your SQL.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download