Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
data formating and units
  • Loading branch information
etl12003 committed Apr 24, 2017
1 parent 2aff73e commit b8a24c2
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Wello/www/details-content.php
Expand Up @@ -171,7 +171,7 @@
<p id="diameter">
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Diameter_Inches'];
echo round($row['Casing_Diameter_Inches'], 5);
?> inches
</p>
</li>
Expand All @@ -181,7 +181,7 @@
<p id="weight">
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Weight_Per_Foot_Pounds'];
echo $row['Casing_Weight_per_Foot_Pounds'];
?> (weight per foot pounds)
</p>
</li>
Expand Down Expand Up @@ -238,7 +238,7 @@
//Should add ternary operator for nulls and blanks

echo $row['Yield_Test_Hours'];
?>
?> hours
</p>
</li>

Expand Down Expand Up @@ -276,7 +276,7 @@
//Should add ternary operator for nulls and blanks

echo $row['Static_Water_Level_Feet'];
?>
?> feet
</p>
</li>

Expand All @@ -287,7 +287,7 @@
//Should add ternary operator for nulls and blanks

echo $row['Yield_Test_Water_Level_Feet'];
?>
?> feet
</p>
</li>

Expand All @@ -298,7 +298,7 @@
//Should add ternary operator for nulls and blanks

echo $row['Well_Depth_Feet'];
?>
?> feet
</p>
</li>

Expand All @@ -325,7 +325,7 @@
//Should add ternary operator for nulls and blanks

echo $row['Open_Screen_Length_Feet'];
?>
?> feet
</p>
</li>

Expand All @@ -336,7 +336,7 @@
//Should add ternary operator for nulls and blanks

echo $row['Screen_Slot_Size'];
?>
?> inches
</p>
</li>

Expand All @@ -347,7 +347,7 @@
//Should add ternary operator for nulls and blanks

echo $row['Screen_Diameter_Inches'];
?>
?> inches
</p>
</li>

Expand All @@ -369,7 +369,7 @@
//Should add ternary operator for nulls and blanks

echo $row['Well_Diameter_Inches'];
?>
?> inches
</p>
</li>

Expand All @@ -380,20 +380,20 @@
//Should add ternary operator for nulls and blanks

echo $row['Gravel_Size_Inches'];
?>
?> inches
</p>
</li>

<li>
<h3>Gravel pack location</h3>
<?php
//Should add ternary operator for nulls and blanks
echo'<p id="gravel-pack-location-from">'.$row['Depth_To_Top_Of_Gravel_Pack'].'</p>';
?>
echo'<p id="gravel-pack-location-from">'.$row['Depth_To_Top_Of_Gravel_Pack'].' feet</p>';
?>
to
<?php
//Should add ternary operator for nulls and blanks
echo'<p id="gravel-pack-location-to">'.$row['Depth_To_Bottom_Of_Gravel_Pack'].'</p>';
echo'<p id="gravel-pack-location-to">'.$row['Depth_To_Bottom_Of_Gravel_Pack'].' feet</p>';
?>
</li>

Expand Down

0 comments on commit b8a24c2

Please sign in to comment.