box-o-sand/PracticingPhp/web/html/wikipedia-tutorial/webvars.php

11 lines
148 B
PHP

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