Posted by Akhenaten on 05/20/07 03:20
I have the following function which works great except when I
encounter a NULL value in my array ($aidlook) and then I get "wrong
data type" errors. I thought about doing a NULL check and creating a
value but didn't know if there was a more effective method. TIA
***************************
if (!in_array($userid, $aidlook))
{
if ($qstatus === 1)
{
}
echo "<a href='apage.php?qid=$qid'>THIS LINK</a>";
} else {
echo "NEGATIVE.</a>";
}
*******************************8
Navigation:
[Reply to this message]
|