From 60b3244652d698e22afa8e5291cd3ec645f9e1ea Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Tue, 23 May 2017 22:37:28 -1000 Subject: [PATCH] lets try this --- gw-toon.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gw-toon.php b/gw-toon.php index 2856623..fc5a083 100644 --- a/gw-toon.php +++ b/gw-toon.php @@ -24,8 +24,9 @@ if ($whattoon == "0"){ echo ''; } else { $sqltoon = "SELECT charname from `playername` WHERE playerid = $whattoon"; - if ($result2 = mysqli_query($con, $sqltoon)){ - echo '' . $result2 . ''; + if ($result2 = $con->query($sqltoon)){ + $row2 = $result2->fetch_row(); + echo '' . $row2 . ''; } echo '
'; echo '';