i need to ask again, just to be sure:
i have some thing like this:
$IDS = "148,231,243,239,257,368,342,683,898"; // ids with acces //
$ID_TO_CHEK = "148"; // the user id is 148 //
my question is, how to check the id of $ID_TO_CHEK with all of the
$IDS variable?
i cant change anything i just need to know how to check if the 148 exist
in the $IDS variable.
PD: if the user id is "1" doesn't confuse with the " '1'48 "id number.
and if exist echo true, else false..
i have some thing like this:
$IDS = "148,231,243,239,257,368,342,683,898"; // ids with acces //
$ID_TO_CHEK = "148"; // the user id is 148 //
my question is, how to check the id of $ID_TO_CHEK with all of the
$IDS variable?
i cant change anything i just need to know how to check if the 148 exist
in the $IDS variable.
PD: if the user id is "1" doesn't confuse with the " '1'48 "id number.
and if exist echo true, else false..