unable to update on server bt it is working fine on localhost : 
not working real server but its working fine on localhost
     

> $res=mysql_query("UPDATE ".$table_name." SET item_name='".$name."'
> ,item_description='".$item."' ,item_price='".$price."' WHERE
> id='".$id."'");