From 2dd5a61c2180d387af352377abd59e6a3799f725 Mon Sep 17 00:00:00 2001 From: MFox Date: Sat, 22 Apr 2017 14:23:40 -0400 Subject: [PATCH 1/3] Changing the URL --- Wello/www/details.php | 4 +++- Wello/www/form.php | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Wello/www/details.php b/Wello/www/details.php index 9c13fd3..91a724e 100644 --- a/Wello/www/details.php +++ b/Wello/www/details.php @@ -45,7 +45,9 @@
diff --git a/Wello/www/form.php b/Wello/www/form.php index b422291..6a8c4e6 100644 --- a/Wello/www/form.php +++ b/Wello/www/form.php @@ -1,5 +1,4 @@ - Date: Sat, 22 Apr 2017 14:42:11 -0400 Subject: [PATCH 2/3] Adding a localhost --- Wello/www/form.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Wello/www/form.php b/Wello/www/form.php index 6a8c4e6..a647a84 100644 --- a/Wello/www/form.php +++ b/Wello/www/form.php @@ -1,4 +1,6 @@ -query($query)) { + $row = $result->fetch_assoc(); +} ?> From 3600f0860ae62bf518e2ebf501bb118c516b1127 Mon Sep 17 00:00:00 2001 From: Erik Lindsay Date: Sat, 22 Apr 2017 15:04:04 -0400 Subject: [PATCH 3/3] details added --- Wello/www/details-content.php | 58 +++++++++++++++++++++++++---------- Wello/www/details.php | 28 +++++++++++++---- 2 files changed, 64 insertions(+), 22 deletions(-) diff --git a/Wello/www/details-content.php b/Wello/www/details-content.php index bb6b97f..a07ba4b 100644 --- a/Wello/www/details-content.php +++ b/Wello/www/details-content.php @@ -64,18 +64,14 @@
  • Address

    -

    STILLTODO

    -
  • - -
  • -

    Town

    -

    STILLTODO

    +

    + '.$row['Owner_Address'].'

    '; + ?> +

  • -
  • -

    Zip code

    -

    STILLTODO

    -
  • @@ -105,7 +101,12 @@
  • Lot number

    -

    STILLTODO

    +

    + +

  • @@ -129,12 +130,22 @@
  • Location relative to three permanent landmarks

    -

    STILLTODO

    +

    + +

  • Use

    -

    STILLTODO

    +

    + +

  • @@ -153,16 +164,31 @@
    • Length

      -

      STILLTODO

      +

      + +

    • Diameter

      -

      STILLTODO

      +

      + +

    • Weight per foot

      -

      STILLTODO

      +

      + +

    • diff --git a/Wello/www/details.php b/Wello/www/details.php index b866277..c7cd795 100644 --- a/Wello/www/details.php +++ b/Wello/www/details.php @@ -10,12 +10,28 @@ $Well_ID = "0"; } -$query = "SELECT Date_Well_Completed, Date_of_Report, Registration_Number, State_Well_No, Other_No, - CONCAT(Owner_First_Name, ' ', Owner_Last_Name) AS 'Owner_Name', - CONCAT(Well_Street_Number, ' ', Well_Street_Name) AS 'WellAddress', Well_Town, Well_Latitude, Well_Longitude, - Drilling_Equipment, Depth_To_Top_Of_Gravel_Pack, Depth_To_Bottom_Of_Gravel_Pack - FROM well_completion_report - WHERE Permit_Number = $Well_ID"; +$query = "SELECT + Date_Well_Completed, + Date_of_Report, + Registration_Number, + State_Well_No, + Other_No, + CONCAT(Owner_First_Name, ' ', Owner_Last_Name) AS 'Owner_Name', + Owner_Address, + CONCAT(Well_Street_Number, ' ', Well_Street_Name) AS 'WellAddress', + Well_Town, + Well_Lot_Number, + Well_Latitude, + Well_Longitude, + Relative_Location, + Proposed_Use, + Drilling_Equipment, + Depth_To_Top_Of_Gravel_Pack, + Depth_To_Bottom_Of_Gravel_Pack + + + FROM well_completion_report + WHERE Permit_Number = $Well_ID"; if ($result = $mysqli->query($query)) { $row = $result->fetch_assoc(); }