How can i check to see if a specific integer is within a array? For a switch statement.
- by Tapha
Is there a specific way to check for a specific integer within a switch statment.
For example.
$user = $ads[$i]->from_user;
To check for the number 2 as $i in the above expression.