34 lines
507 B
PHP
34 lines
507 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<style>
|
|
body {
|
|
background-color: #3B5998;
|
|
}
|
|
</style>
|
|
|
|
<h2><font color="white">Search by</h2>
|
|
|
|
<form method="post" action="usernameSearch.php">
|
|
Username: <br><input type="text" name="username"><br>
|
|
<input type="submit">
|
|
</form>
|
|
<br>
|
|
<h2>Or</h2>
|
|
<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">
|
|
</form>
|
|
|
|
|
|
|
|
<?php
|
|
echo $name;
|
|
echo "<br>"
|
|
?>
|
|
|
|
</body>
|
|
</html>
|
|
|