I've been looking at this for hours, and I can't find the problem as to why my sql insert won't work.
$body = "link test - 3!!!";
$userid = 1;
$cat_id = 3;
$user_url = "http://www.pizza.com";
$body = mysql_real_escape_string($body);
$sql = "insert into posts (userid, body, stamp, cat_id, link) values ($userid,$body,now(),$cat_id,$user_url)";
$result = mysql_query($sql);