Skip to content

Commit

Permalink
Changing the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
MFox committed Apr 22, 2017
1 parent 6c874ea commit 2dd5a61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Wello/www/details.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@

<nav class="top-nav">
<button><a href="map.php"><img alt="back" src="img/back.svg" ></a></button> <h1>Details</h1>
<button><a href="form.php"><img alt="edit" src="img/edit.svg" ></a></button>
<?php
echo'<button><a href="form.php?Well_ID='.$Well_ID.'"><img alt="edit" src="img/edit.svg" ></a></button>';
?>
</nav>
<main class="details">

Expand Down
3 changes: 1 addition & 2 deletions Wello/www/form.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
$mysqli = new mysqli("localhost", "db10e41481317066", "jXLUjNG/cQxm4VJ1SionhDKdcT4BT1Dos7sZMddIapa/8LYDpDNz+3hwGCz8Shon", "db10e41481317066");
<?php require 'cred.php';
if ( (isset($_GET['Well_ID'])) && (is_numeric($_GET['Well_ID'])) ) {
$Well_ID = $_GET['Well_ID'];
}
Expand Down

0 comments on commit 2dd5a61

Please sign in to comment.