My issue is I have two numbers in the array 5,12 my issue is the code below is returning "1" as true because of the "1" in number 12- it sees the number 1 in 12. How do I tell it to read the ENTIRE number.
<?php
$pos = strpos($foo,"1");
if($pos === false) {
// do this if its false
echo "<img src='../PICS/no.png' width='20' height='20' />";
}
else {
echo "<img src='../PICS/yes.png' width='20' height='20' />";
}
?>