';
echo '';
- echo '';
} else if ($action == 2){
+ echo '';
echo '';
- echo '';
} else {
echo 'You shouldn\'t be seeing this, something went horribly horribly wrong!';
}
diff --git a/gw-insert.php b/gw-insert.php
index 78d2e0a..4be89b9 100644
--- a/gw-insert.php
+++ b/gw-insert.php
@@ -29,5 +29,8 @@ if ($droptype == 1){
} else {
echo 'No data was sent! ';
}
-echo ' Return to data recording page';
+echo ' Return to data recording page
';
+echo 'Go to character selection';
+# humans shouldn't actually see this page, will need to auto submit this form back to gw-toon.php using the POST data name of "cname" so the previous toon will be auto selected
+# or look into using cookies / sessions (sessions being preferable)
?>
\ No newline at end of file
diff --git a/gw-record.php b/gw-record.php
index 0473f9f..b4fdbc9 100644
--- a/gw-record.php
+++ b/gw-record.php
@@ -122,5 +122,6 @@ if ($whatdropped == "1"){
echo '';
echo '';
}
-echo 'Reload the page with no GET data? RELOAD';
+echo 'Reload the page with no POST data? RELOAD
'; //this needs to go away soon
+echo 'Go to character selection'; //need to make this a form to preselect previously selected character
?>
\ No newline at end of file
diff --git a/gw-toon.php b/gw-toon.php
index bbff8c5..668284c 100644
--- a/gw-toon.php
+++ b/gw-toon.php
@@ -10,7 +10,7 @@ $sql = "SELECT playerid, charname FROM `playername` WHERE `userid` = '1' ORDER B
if (!$result = $con->query($sql)){
die ('There was an error running the query [' . $con->error . ']');
}
-if ($whattoon == ""){
+if ($whattoon == "0"){
echo '