Updated buttons to use button CSS class; removed duplicate background-color declarations
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user