mardi 25 octobre 2016

PHP if statement with OR operators

I'm using the below statement on my website. I want to be able to say if the selected_plan_id is 4, 5, OR 6. Any of the OR variations I use break my code.

 <?php if($CURRENT_USER['selected_plan_id'] == '5'): ?>

Aucun commentaire:

Enregistrer un commentaire