$body = isset($_POST["body"]) ? (string)$_POST["body"] : 0;
$body = sqlesc($body);
if (!$body)
error_message("error","Error","The News Item cannot be Empty!");
with
$body = isset($_POST["body"]) ? (string)$_POST["body"] : 0;
if (!$body)
error_message("error","Error","The News Item cannot be Empty!");
$body = sqlesc($body);
before body is empty
screen
Attached Files
Edited by nicky, 31 December 2010 - 11:13.













