<?php $jackpots = array( '2'=>'test 2', '25reel'=>'test 2 5 reel', ); $selected=array('25reel'); foreach($jackpots as $id => $name){ if(in_array($id,$selected)){ echo 'fuck'.$id.'<br />'; } }
You have javascript disabled. You will not be able to edit any code.