samedi 30 mai 2020

Checking GET method value

I want to check if the value of $_GET["d"] are equal with "n" using this code

<?php if (isset($_GET["d"] == "n" or "h")): ?>

but i receiving the error

Cannot use isset() on the result of an expression (you can use "null !== expression" instead)

What should i do?




Aucun commentaire:

Enregistrer un commentaire