I am doing a find of a user from a table that contains USERID, ITEMNO, etc., to find what items (services) a user presently is signed up for. What I am trying to do is create an "add services" form and instead of listing everything available, only show items/services that user isn't already signed up for. Something like:
if ($items=array($userData['ITEMNO']!="oranges") {
echo "<input type='text' name='fruit' value='oranges'>";
}
When I use this and then var_dump, I only get back the last item the user has.
Ideas?
Thanks,
Trish