خوب واسه اینه که کوئری رو اجرا نمی کنی

کد PHP:
$result = mysql_query($query) or die(mysql_error());