04.04.2018, 15:27
Quote:
How could i check if its 1 or 0?
if(siren)? I guess that wouldnt fit in this command? |
Checking if(siren) would not pass if the siren is set to 0.
PHP Code:
if (siren != 0 && siren != 1) return error_message;