Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by makman ( 13 years ago )
<?
$user=$_POST['user'];
include("../connection/connect.php");
$query=mysql_query("select * from stafflogin where username='$user'");
$nwmbs=mysql_num_rows($query);
?>
<td valign="top" class="bgform">
<?
if($nwmbs)
{
?>
<form name="frm" method="post" acti>
<div class="text"><label for="user">Username</label>
<input type="text" name="user" id="user" size="16" value="<? echo $_POST['user']; ?>" /></div>
<? $resmn=mysql_fetch_array($query);
if($resmn['password']=="")
{
?>
Revise this Paste