Hi,
Is there a better way of checking input field values against stored values in an array.

I used this format
$inputvalue=30;
$checkvalue=array (1,2,3,4 ....31);

if (in_array($checkvalue,$inputvalue))
//if the input value is in the array

Kisha