Trying to get script to check and see if field = Y or N. It will always ask for a password, its as if it doesn't check the field first. What could i be doing wrong?
$strQuery = "SELECT * FROM contents where contentid ='".$contentid."'";
$result = mysql_db_query($GLOBALS["ezContentsDBName"], $strQuery);
while ($rsContent = mysql_fetch_array ($result))
if($rsContents["premier"] !='N')
{
include ("auth.php");
}