Updated buttons to use button CSS class; removed duplicate background-color declarations

This commit is contained in:
WilliamMiceli
2019-12-04 20:27:05 -05:00
parent c6cd3c5ba8
commit f2a9614aef
3 changed files with 2 additions and 18 deletions

View File

@@ -11,22 +11,12 @@
<!--#include virtual="header.html" -->
<!--#include virtual="topNavBar.html" -->
<style>
body {
background-color: #3B5998;
}
</style>
<?php
$query = "Select * from contacts where fname = '".$_POST["fname"]."' and lname = '".$_POST["lname"]."'";
foreach($db_connection->query($query) as $row){
print "First Name:".$row['fname']." Last Name:".$row['lname']." Username:".$row['username']."\n";
}
?>
</body>

View File

@@ -27,7 +27,7 @@ Username: <br><input type="text" name="username"><br>
<form action="nameSearch.php" method="post">
First Name: <input type="text" name="fname"><br>
Last Name: <input type="text" name="lname"><br>
<input type="submit">
<input type="submit" class="button">
</form>

View File

@@ -10,12 +10,6 @@
<body>
<!--#include virtual="header.html" -->
<!--#include virtual="topNavBar.html" -->
<style>
body {
background-color: #3B5998;
}
</style>
<h2><font color="white">Send a message</h2>
<form method="post" action="messageSender.php">
@@ -23,7 +17,7 @@ body {
<br><br>
Message: <br><textarea name="message" rows="5" cols="40"></textarea>
<br><br>
<input type="submit" name="submit" value="Submit">
<input type="submit" class="button">
</form>