<?php $test = array('subcategory' => array('0' => 18,'1' => 19)); $search = in_array(18,$test['subcategory']); if($search){ echo"da"; } print_r($search);
You have javascript disabled. You will not be able to edit any code.