Files
WMU-CS4430-Project/var/www/search.php
2019-12-04 21:17:49 -05:00

35 lines
893 B
PHP

<?php
require 'common.php';
require 'loginRequired.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="styling.css">
</head>
<body>
<!--#include virtual="header.html" -->
<!--#include virtual="topNavBar.html" -->
<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" class="button">
</form>
<?php
echo $name;
echo "<br>"
?>
</body>
</html>