From 385536480182cc32ff4ff38a746b54c0a543c336 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Tue, 23 May 2017 23:39:51 -1000 Subject: [PATCH] works in theory it probably doesn't haha --- gw-location.php | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gw-location.php b/gw-location.php index 7d10527..ce15537 100644 --- a/gw-location.php +++ b/gw-location.php @@ -1,3 +1,25 @@ +Location Selection connect_errno > 0){ + die ('Unable to connect to database [' . $db->connect_errno . ']'); +} +$sqlmaploc = "SELECT * FROM treasurelocation"; +if (!$resultmap = $con->query($sqlmaploc)){ + die ('There was an error running the query [' . $con->error . ']'); +} +echo '
'; +echo ''; +echo '
'; ?> \ No newline at end of file