diff --git a/gw-action.php b/gw-action.php index 24cb219..1ec52ca 100644 --- a/gw-action.php +++ b/gw-action.php @@ -1,6 +1,7 @@ + + Character Creation @@ -18,18 +19,18 @@ if ($createnew === "1"){ if (!checkdate($m, $d, $y)) { echo 'Date is invalid ' . $bdate . '
'; echo 'Date format is YYYY-MM-DD / 2005-04-28
'; - echo 'Please click HERE to try again'; - echo '

Return to home.'; + echo 'Please click HERE to try again'; + echo '

Return to home.'; exit(); } else if ($cname === ""){ echo 'Please enter a name for your character
'; - echo 'Please click HERE to try again'; - echo '

Return to home.'; + echo 'Please click HERE to try again'; + echo '

Return to home.'; exit(); } else if ($profid === ""){ echo 'Please choose a profession
'; - echo 'Please click HERE to try again'; - echo '

Return to home.'; + echo 'Please click HERE to try again'; + echo '

Return to home.'; exit(); } $sqlcreate = "INSERT INTO `playername` (charname, birthdate, userid, professionid) VALUES ('$cname', '$bdate', $userid, $profid)"; @@ -57,7 +58,7 @@ if ($createnew === "1"){ } ?>

-Return to home. +Return to home. \ No newline at end of file diff --git a/gw-history.php b/gw-history.php index 73fdb4d..cb86152 100644 --- a/gw-history.php +++ b/gw-history.php @@ -1,6 +1,7 @@ + Treasure Data @@ -68,7 +69,7 @@ if (mysqli_num_rows($result) > 0) { } } } - echo ' at ' . $row['location'] . '
'; + echo ' at ' . $row['location'] . '
'; } } else { echo '
There is no data to display for that character yet

'; diff --git a/gw-index.php b/gw-index.php index 1c4467c..8b36882 100644 --- a/gw-index.php +++ b/gw-index.php @@ -1,13 +1,14 @@ + Welcome, ' . $uname . '
'; echo 'Proceed to character selection here
'; - echo 'Create a new character to record here
'; + echo 'Create a new character to record here
'; } else { echo 'Login Required'; echo '
Username:
'; diff --git a/gw-insert.php b/gw-insert.php index e8ff6a0..63198ba 100644 --- a/gw-insert.php +++ b/gw-insert.php @@ -1,6 +1,7 @@ + Inserting Data + Location Selection query($sqlmaploc)){ die ('There was an error running the query [' . $con->error . ']'); } echo '
'; -//echo ''; echo '