Untitled
public text v1 · immutable if (trim($_GET['DomainName']) != "")
{
if ($_GET['Exdate'] == "-----") || strstr(strtolower($_GET['Exdate']),'n'))
{
$mydate = "0000-00-00";
}
else
{
$mydate = $_GET['Exdate'];
}
}
I belive that problom is with the strstr function... in this case. i use it so it would return TRUE (but.. as far as i saw at php.net -> it doesn't return TRUE)...
what i'm trying to do here is 2 cases.. 1 if exdate = ----- or (||) the char 'n' is in $_GET['Exdate']