App is not connecting to database

view full story

http://serverfault.com – Not sure if anyone can help me out here but I have an app that I am trying to connect to mysql database so information can be updated and stored. I have created a registration page in java and have it connecting through PHP. When I fill out the registration page however my exception error is displayed and no information is passed to the database. My java code has been examined and people informed me it is correct. I am using a WAMP server to test the app. Here is my PHP mysql_query("INSERT INTO tbl_users (UserName, Password, email) VALUES ('".$UserName."', '".$Password."', '".$email (HowTos)