As you see I even went in and changed the value names to make them shorter - hey, never know coulda been a typo in there somewhere. Thanks for the help tho. 😃
Here's the PHP code in all it's 'getting to be annoying' glory:
<html>
<head>
<title>Eternal City - Character sheet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<style>
<!--
A:link,
A:visited,
A:active { text-decoration: none; }
A:hover { color: #33CC00; }
-->
</style>
<body bgcolor="#FFFFFF" text="#000000" link="#3333CC" vlink="#3333CC" alink="#3333CC">
<div align="center"><font face="Century Gothic" size=+2>Rome by Night<br>
Character Sheet</font></div>
<br>
<br>
<font face="Arial">
<?php
$dbh=mysql_connect ("localhost", "primevil_rome", "<mypassword>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("primevil_database");
mysql_query("INSERT INTO romesheet (playerid,nick,RealName,password,ShowStats,ViewOnlyPassword,email,WantShown,URLaddress,gender,age,IconID,Comments,ExitMessage,whatru,Strength,Charisma,Perception,Dexterity,Manipulation,Intelligence,Stamina,Appearance,Wits,Alertness,AnimalKen,Academics,Athletics,Crafts,Bureaucracy,Awareness,Demolitions,Computer,Brawl,Drive,Enigmas,Dodge,Etiquette,Finance,Empathy,Firearms,Investigation,Expression,Meditation,Law,Intimidation,Melee,Linguistics,Intuition,Performance,Lore,Interrogation,Repair,Medicine,Leadership,Security,Occult,Streetwise,Stealth,Politics,Subterfuge,Survival,Research,Technology,Science,Willpower,Backgrounds,powers,Advantages,merit,othertraits,equip1,equip2,whenmade,whenupdate) VALUES ('NULL','$nick','$RealName','$password','$ShowStats','$ViewOnlyPassword','$email','$WantShown','$URLaddress','$gender',$age,'$IconID','$Comments','$ExitMessage','$whatru','$Strength','$Charisma','$Perception','$Dexterity','$Manipulation','$Intelligence','$Stamina','$Appearance','$Wits','$Alertness','$AnimalKen','$Academics','$Athletics','$Crafts','$Bureaucracy','$Awareness','$Demolitions','$Computer','$Brawl','$Drive','$Enigmas','$Dodge','$Etiquette','$Finance','$Empathy','$Firearms','$Investigation','$Expression','$Meditation','$Law','$Intimidation','$Melee','$Linguistics','$Intuition','$Performance','$Lore','$Interrogation','$Repair','$Medicine','$Leadership','$Security','$Occult','$Streetwise','$Stealth','$Politics','$Subterfuge','$Survival','$Research','$Technology','$Science','$Willpower','$Backgrounds','$powers','$Advantages','$merit','$othertraits','$equip1','$equip2',NOW() + 0,0)") or die ("Error! Something messed up, and your sheet wasn't added. Sorry. Please contact the administrator at [email]harleyquin@evil-incorperated.com[/email], and she'll try and fix it up. If you want to speed things up, email your sheet to her, and she'll add it manually.");
echo "<b>mySQL error no: " . mysql_errno() . "<br>mySQL error: " . mysql_error() . "</b>";
if ($request == "Y") {
$to = $stemail.", ".$RealName." <".$email.">";
$subject="Sanction request for ".$nick;
$message="The following is a sanctioning request for "
.$nick.", at ".$email.".\n\n"
.$nick." is a character for Eternal City. The player has included the following note:\n"
.$RequestNote."\n\nPlease remember that, if replying, to send to the player's address. These emails are sent even if the character was not added to the database.\nThank you!";
$header .="From: Eternal City Request Form <harleyquin@evil-incorperated.com>\n";
$header .="Reply-To: ".$email."\n";
$header .="X-Sender: <harleyquin@evil-incorperated.com>\n";
$header .="X-Mailer: PHP/".phpversion()."\n";
$header .="Return-Path: <harleyquin@evil-incorperated.com>\n";
$to=trim($to);
$subject=trim($subject);
$message=trim($message);
$header=trim($header);
mail($to, $subject, $message, $header);
}
$siteURL = "http://www.evil-incorporated.com/";
$to = $RealName." <".$email.">";
$subject="Character sheet reminder for ".$nick;
$message="This is a reminder for your character, "
.$nick.". You, or someone using this email address, has just created a character for Eternal City. The name and password to access the sheet are:\n\n"
."Username: ".$nick."\n"
."Password: ".$password."\n"
."View-Only Password: ".$ViewOnlyPassword."\n"
."You can edit or delete this sheet, or view others' characters, at "
.$siteURL."\nThese emails are sent even if the character was not added to the database.\n\nThank you!";
$header = "From: Eternal City Reminder <harleyquin@evil-incorperated.com>\n";
$header .="Reply-To: Harley Quin <harleyquin@evil-incorperated.com>\n";
$header .="X-Sender: <harleyquin@evil-incorperated.com>\n";
$header .="X-Mailer: PHP/".phpversion()."\n";
$header .="Return-Path: <harleyquin@evil-incorperated.com>\n";
$to=trim($to);
$subject=trim($subject);
$message=trim($message);
$header=trim($header);
mail($to, $subject, $message, $header);
?>
<p align="justified"> Unless an error popped up above, your character, <b><?php echo $nick; ?></b>, has been added to the database, and an email reminder has been sent to your email address. If you requested sanctioning via an email request, an email has been sent to both you and the Storyteller for the group you specified.
</p>
<br>
<br>
<center>
<a href="index.php">Eternal City: Rome by Night</a><br>
<a href="http://www.white-wolf.com/">White Wolf Online</a>
</center>
</font>
</body>
</html>
That's it and to imagine that's only the start.... ::bangs her head against her desk::