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="header.html" -->
|
||||||
<!--#include virtual="topNavBar.html" -->
|
<!--#include virtual="topNavBar.html" -->
|
||||||
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
background-color: #3B5998;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
$query = "Select * from contacts where fname = '".$_POST["fname"]."' and lname = '".$_POST["lname"]."'";
|
$query = "Select * from contacts where fname = '".$_POST["fname"]."' and lname = '".$_POST["lname"]."'";
|
||||||
|
|
||||||
|
|
||||||
foreach($db_connection->query($query) as $row){
|
foreach($db_connection->query($query) as $row){
|
||||||
print "First Name:".$row['fname']." Last Name:".$row['lname']." Username:".$row['username']."\n";
|
print "First Name:".$row['fname']." Last Name:".$row['lname']." Username:".$row['username']."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Username: <br><input type="text" name="username"><br>
|
|||||||
<form action="nameSearch.php" method="post">
|
<form action="nameSearch.php" method="post">
|
||||||
First Name: <input type="text" name="fname"><br>
|
First Name: <input type="text" name="fname"><br>
|
||||||
Last Name: <input type="text" name="lname"><br>
|
Last Name: <input type="text" name="lname"><br>
|
||||||
<input type="submit">
|
<input type="submit" class="button">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,12 +10,6 @@
|
|||||||
<body>
|
<body>
|
||||||
<!--#include virtual="header.html" -->
|
<!--#include virtual="header.html" -->
|
||||||
<!--#include virtual="topNavBar.html" -->
|
<!--#include virtual="topNavBar.html" -->
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
background-color: #3B5998;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<h2><font color="white">Send a message</h2>
|
<h2><font color="white">Send a message</h2>
|
||||||
|
|
||||||
<form method="post" action="messageSender.php">
|
<form method="post" action="messageSender.php">
|
||||||
@@ -23,7 +17,7 @@ body {
|
|||||||
<br><br>
|
<br><br>
|
||||||
Message: <br><textarea name="message" rows="5" cols="40"></textarea>
|
Message: <br><textarea name="message" rows="5" cols="40"></textarea>
|
||||||
<br><br>
|
<br><br>
|
||||||
<input type="submit" name="submit" value="Submit">
|
<input type="submit" class="button">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user