<html><head><title>Thank you!!!</title></head><body>


<?

mysql_connect
( "localhost", "user", "passwd");

mysql_select_db( "mlug") or die( "Error opening database");

if(
$last == "" or $first =="" or $email == ""):

    echo
"Please do not leave last name, first name, or email address
        blank<br>"
;
    echo
"<a href=addname.php3>Try Again</a>";

else:


mail("root@mlug.missouri.edu", "new member",
"$name\n$email\n$url\n$job\n$location$phone\n\n$other");


$other = addslashes( "$other");
        
mysql_query( "insert into members (first, last, email, url,
machine, opsys, distribution, job,location, phone, how, other)  
values('$first', '$last', '$email', '$url', '$machine',
'$opsys', '$distribution', '$job','$location', '$phone', '$how',
'$other')"
);

?>

Thank you for joining mlug.<br><br>

<a href="index.html">Back to the MLUG home page</a>
</body>
</html>
<?endif;?>