I’m having a issue with this.
[php]$GrabDataPoll5 = mysql_query(“SELECT type
,pokemon
FROM poll_list
WHERE removed
!=‘yes’”);
$PokeList = array();
while($row = mysql_fetch_array($GrabDataPoll5))
{ $PokeList[] = "'".$row['type']."".$row['pokemon']."'"; }
$PokeList = implode(",", $PokeList);
if(!in_array($Pokemon, $PokeList)) {
$Result = “Select a valid Pokemon.”;
}
[/php]