Voting

Please answer this simple SPAM challenge: max(one, zero)?
(Example: nine)

The Note You're Voting On

wintermute
10 years ago
Sinured: You can do the same thing with logical OR; if the first test is true, the second will never be executed.

<?PHP
if (empty($user_id) || in_array($user_id, $banned_list))
{
exit();
}
?>

<< Back to user notes page

To Top