How to make sure there is no error in this line?
$result = mysql_query ("INSERT INTO article (title,full,short,time,cat) VALUES ('$title','$full','$short','$time','$rescat["id"]')");
Error itself
Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in ...
Most likely, he swears at $rescat["id"]
, but how to make sure that he does not swear at her? Like and in single quotes prescribed ...