in arrray php

33

$arr = array('php','java','python');

if ( in_array( 'java', $arr ) ) {

  echo 'available';

}else{

  echo 'not available';

}

Comments

Submit
0 Comments