I have (or not) a variable $_GET[\'myvar\'] coming from my query string and I want to check if this variable exists and also if the value corresponds to somethi
$_GET[\'myvar\']
A solution that I have found from playing around is to do:
if($x=&$_GET["myvar"] == "something") { // do stuff with $x }