Problem using IN with if statement

I am trying to use the code below, but I seem to be getting white out when used, it seems right but cant work out why its not working.


<? if ($q['IdCat_Hot'] IN ("6,7")){
	
} else {
	
} ?>

Morning multichild,

You can use [fphp]in_array[/fphp] for this:

if (in_array($q['IdCat_Hot'], array(6, 7))) {

Morning fretburner,

thanks that works perfectly.