From 9b3ca5b9119d31e69042c5204afd8eec49f17cac Mon Sep 17 00:00:00 2001 From: MFox Date: Tue, 28 Mar 2017 17:39:23 -0400 Subject: [PATCH] Added a few queries for the Details page --- html-ONLY-site/details-content.php | 260 ++++++++++++++++++ html-ONLY-site/details.php | 87 ++++++ html-ONLY-site/priv_includes/config.inc.php | 15 - .../priv_includes/mysqli_oo_connect.php | 20 -- html-ONLY-site/search.html | 25 +- html-ONLY-site/wells-list.php | 18 +- 6 files changed, 373 insertions(+), 52 deletions(-) create mode 100644 html-ONLY-site/details-content.php create mode 100644 html-ONLY-site/details.php delete mode 100644 html-ONLY-site/priv_includes/config.inc.php delete mode 100644 html-ONLY-site/priv_includes/mysqli_oo_connect.php diff --git a/html-ONLY-site/details-content.php b/html-ONLY-site/details-content.php new file mode 100644 index 0000000..4c8d9bc --- /dev/null +++ b/html-ONLY-site/details-content.php @@ -0,0 +1,260 @@ + +
+ + +
+
+

Owner Info

+ +
+
+

Well location

+ +
+ +
+

Casing Details

+ +
+
+

Yield Test

+ +
+
+

Water Level

+ +
+
+

Screen Details

+ +
+
+

Other Notes

+ +
+

diff --git a/html-ONLY-site/details.php b/html-ONLY-site/details.php new file mode 100644 index 0000000..a316166 --- /dev/null +++ b/html-ONLY-site/details.php @@ -0,0 +1,87 @@ +query($query)) { + $row = $result->fetch_assoc(); +} +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+
+ + +
+ + + + + + + + + diff --git a/html-ONLY-site/priv_includes/config.inc.php b/html-ONLY-site/priv_includes/config.inc.php deleted file mode 100644 index 17b607c..0000000 --- a/html-ONLY-site/priv_includes/config.inc.php +++ /dev/null @@ -1,15 +0,0 @@ - diff --git a/html-ONLY-site/priv_includes/mysqli_oo_connect.php b/html-ONLY-site/priv_includes/mysqli_oo_connect.php deleted file mode 100644 index 4d3e2eb..0000000 --- a/html-ONLY-site/priv_includes/mysqli_oo_connect.php +++ /dev/null @@ -1,20 +0,0 @@ -connect_error) { //if there is a connection error - echo $mysqli->connect_error; //echo error to screen - unset($mysqli); //delete the object created on line 19 -} -else { //establish encoding - $mysqli->set_charset('utf8'); -} - -/* terminating php tag "?>" not needed if this file end in .php extension */ diff --git a/html-ONLY-site/search.html b/html-ONLY-site/search.html index e4933d2..9e7faea 100644 --- a/html-ONLY-site/search.html +++ b/html-ONLY-site/search.html @@ -12,6 +12,7 @@ + @@ -32,21 +33,21 @@ -