<?php $jackpots = array( '2-5'=>'test 2', '2-5reel'=>'test 2 5 reel', ); $selected=array('2-5reel'); 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.