Jump to content

Php Check If _Request Array Contains Value


harvest

Recommended Posts

Hi,

 

I have something like this

 

<?

if(isset($_REQUEST['groupid'])){

$vesti = Vesti_Manager::getVesti($_SESSION['language_id'],array($_REQUEST['groupid']));

} else {

$vesti = Vesti_Manager::getVesti($_SESSION['language_id']);

}

?>

 

and i want list only if ['groupid'] is in array (1,2,3,4,5,6,7,8 )

 

Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.