<?php
 introduction to php tutorial
 brief examples by greg lawler
 december 2000 brooks web 
class


$foo "Greg";

print 
"Hello $foo";

?>

if ($foo && $fudge) 
{
    print "Hello $foo, I sent you an email at $fudge";
    mail("$fudge", "Howdy!", "Hello $foo", "FROM:bip");    
}

else
{
    print "<form method=post action=http://info/php/06.php>";
    print "<br>";
    print "What is your Name?";
    print "<input type=text name=foo size=20>";
    print "<br>";
    print "What is your email?";
    print "<input type=text name=fudge size=20>";
    print "<input type=submit value=Push>";
    print "</form>";
}
?>