Code: Select all
if(empty($_POST['title']) || (empty($_POST['strap_line'])) || (empty($_POST['product_code'])) || (empty($_POST['pages'])) || ($_POST['category'] =="error") || ($_POST['manual'] == "error") || ($_POST['auth_name'] == "error") || (empty($_POST['url_path'])))
{
header('Location:page1.php?action=required');
}
elseif(!is_numeric($_POST['pages']))
{
header("Location: page1.php?action=numeric");
}
else
{
}Any ideas why this could be the case?
thanks in advance