You are here: Errors from a NULL value « PHP Programming Language « IT news, forums, messages
Errors from a NULL value

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация