Problem in SQL query

@sanjay_tank1975,

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());