<?
/* This script processes the data passed from blkdir-form.php3 */

/* variable declaration */

$mysql_db = "dubhlinn";
$mysql_user = "dubhlinn";
$mysql_pass = "c3ae7rw";
$mysql_host = "";
$table=blkdir;

/* Make connection to the database */
mysql_connect($mysql_host, $mysql_user, $mysql_pass) or DIE("Unable to connect to database");
@mysql_select_db($mysql_db) or DIE("Unable to select database");

$query = "insert into $table values ('$First_Name','$Last_Name','$SCA_Name','$Awards','$Street1','$Street2','$City','$State','$Zip','$Home','$Cell','$CPbutton','$Eprime','$Esec','$Work','$Eter','$URL','$Heraldry','$Comments',null,null)";
$result = MYSQL_QUERY($query);
print "Data entered into database. <p>";

mysql_close();
?>
