Hello, I want to perform some action in a range of id. like: if($_GET['id'] is shown from 0 to 100) { echo "show this"; } else { echo "show that"; } PHP: is it possible to do it? if, then how? thanks..
Is this what you're looking for? if($_GET['id']>=0&&$_GET['id']<=100){echo 'this';} else{echo 'that';} PHP:
@ The Critic yea this code is also working for me, the one which i wrote also works, that had mistake of single = sign. thanks for quick response..