try put mysql_error() like this example,this will show what is failing in your query.
mysql_query("your query here")or die("problem in query = ".mysql_error());
try put mysql_error() like this example,this will show what is failing in your query.
mysql_query("your query here")or die("problem in query = ".mysql_error());