Cookie validation?

Hi,

A validation issue, ive got the cookie working, but now having issues with my basic validation

         <td>Customer ID:</td>
        <td><?php echo $_COOKIE['customerid'];?></td>

Any suggestions on why this wouldn’t work :blush:

<?php
if ($_POST[“custID”] ==“” || $_POST[“custID”] ==“Enter your customer ID” || $_POST[“custID”] ==$_COOKIE[‘customerid’] )
{
header(“Location: orderform.html”);
exit;
}
?>

Would you elaborate little bit as how you are saving $_cookie

Standard syntax way (name, value,time) is this what you meant??