thanx borthers
i realy appriciated ur help
but still there is one thing left.
y was it running perfectly on my local pc
the code is:
$desc = htmlspecialchars($desc);
$insert_query="insert into cmenu values ($pmid, $cmid, '$title','$desc', $enb)";
$insert_result=mysql_query($insert_query,$conn) or die("cannot run query");