<?php $dogs = $_GET['dogs']; if ($dogs) { print "\$_GET['dogs']=" . $dogs; } else { print "no dogs for you"; } ?>