Menu
Ok, I’m tring to figure out a way to search an array for a value twice. Is there a way to do something along the lines of
[code=php]if(in_array($array_names, “john doe”)) {//I need it to see if john doe is in the array twice or not, if it is in there twice return true, else return false
echo “true”;
}else{
echo “false”;
}
Is that do able or am I searching for something hard to do?