PDA

View Full Version : PHP and mySQL strange errors


Blastedt
06-22-2009, 03:14 PM
Code removed cause I don't want random people looking at my code until I release the game (and probably not even then). Problem fixed, anyways.

arkhan
06-22-2009, 06:16 PM
I think you cant use the character "_" there..seems like it is ending the string or something. Also could be case sensivity so check your cases.

Blastedt
06-23-2009, 08:18 AM
My host requires you to use username_databasename and username_DBuser. Plus, I'm using the same exact connection code on my other pages and those work.

Also, these pages worked before I added the requires and the styling.

EDIT: Fixed. I also had the connect code in my charsheet.php along with mysql_close. Removed those and it works fine now. Thanks.