I've created the following
$usernames = $db->fetchColumn('Select username from profiles');
It creates the following
Array ( [0] => todd [1] => test [2] => brent_test [3] => danny [4] => alyssa [5] => dogg )
I do NOT want to check an array for duplicates in it. I want to check to see if an array has a value in it. If the array ($usernames)does have the value of $var in it, I want it to rerun 'true'. If array ($usernames)does not have the value of $var in it, I want it to return 'false'.
Any suggestions?