From 10f54e31aff616019a8c53c6359d3f44efe0e94e Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Tue, 23 May 2017 22:54:33 -1000 Subject: [PATCH] stupid misnamed variable i always forget these --- gw-toon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gw-toon.php b/gw-toon.php index 8c96e66..cf784d1 100644 --- a/gw-toon.php +++ b/gw-toon.php @@ -28,7 +28,7 @@ if ($whattoon == "0"){ die ('There was an error running the query [' . $con->error . ']'); } while ($row2 = $result2->fetch_array()){ - $charactername = $row['charname']; + $charactername = $row2['charname']; echo 'Character selected is: ' . $charactername . ''; } echo '
';