Hey guys here is my php:
$x = array("one", "two", "three");
foreach ($x as $value)
{
if ($value != 'one' && $value != 'two')
{
echo $value . "<br />";
}
}
This echo's only the word three. I had to use $value != 'one' && $value != 'two' to make this happen and I was wondering if I could consolidate this into something like this:
if ($value != 'one, two')
That doesn't work so I was wondering if you guys could provide some help.