I have developed a small CMS on my local WAMP machine.
Once I have exported my project on to the hosting, the following problem shows up
Warn
The SQL query has not finished correctly. You most likely uploaded the script, but have either not uploaded the database, or have wrong database credentials.
Hint You can get very good and descriptive error messages when you put the following code after a failing mysql_query statement:
if (mysql_error()) {
die(mysql_error());
}