'.$row["Well_Street_Name"].'
+short well description
+diff --git a/html-ONLY-site/priv_includes/config.inc.php b/html-ONLY-site/priv_includes/config.inc.php new file mode 100644 index 0000000..17b607c --- /dev/null +++ b/html-ONLY-site/priv_includes/config.inc.php @@ -0,0 +1,15 @@ + diff --git a/html-ONLY-site/priv_includes/mysqli_oo_connect.php b/html-ONLY-site/priv_includes/mysqli_oo_connect.php new file mode 100644 index 0000000..4d3e2eb --- /dev/null +++ b/html-ONLY-site/priv_includes/mysqli_oo_connect.php @@ -0,0 +1,20 @@ +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/wells-list.php b/html-ONLY-site/wells-list.php new file mode 100644 index 0000000..62ad138 --- /dev/null +++ b/html-ONLY-site/wells-list.php @@ -0,0 +1,123 @@ +connect_errno) { + printf("Connect failed: %s\n", $mysqli->connect_error); + exit(); +} + +$query = "SELECT Well_Street_Name FROM well_completion_report"; + +?> + + + + +
+ + +short well description
+