ciao io ha poco che studio PHP pero penso che intanto il valore dovrebbe stare tra parentesi tonde
$f =( $_GET['x']);