Log In / Profile problem
When I try to log in on the LogIn page I am sent to the profile page which returns returns the error message "No Record Found". Following is the code I can find relating to the "No Record Found" return:
<div id="UpdateContainer" class="WAATK">
<?php if ($totalRows_WAATKusers > 0) { // Show if recordset not empty ?>
<form action="<?php echo $editFormAction; ?>" method="post" name="WAATKUpdateForm" id="WAATKUpdateForm">
<h1>Profile</h1>
<table class="WAATKDataTable" cellpadding="0" cellspacing="0" border="0">
<tr>
<th>Email:</th>
<td><?php echo(str_replace('"', '"', $row_WAATKusers['email'])); ?></td>
</tr>
<tr>
<th>Password:</th>
<td><input type="password" class="WAATKTextField" name="password" id="password" value="<?php echo(str_replace('"', '"', $row_WAATKusers['password'])); ?>" /></td>
</tr>
<tr>
<th>Last Name:</th>
<td><input type="text" class="WAATKTextField" name="last_name" id="last_name" value="<?php echo(str_replace('"', '"', $row_WAATKusers['last_name'])); ?>" size="32" /></td>
</tr>
<tr>
<th>First Name:</th>
<td><input type="text" class="WAATKTextField" name="first_name" id="first_name" value="<?php echo(str_replace('"', '"', $row_WAATKusers['first_name'])); ?>" size="32" /></td>
</tr>
<tr>
<th>Street Address:</th>
<td><input type="text" class="WAATKTextField" name="street_address" id="street_address" value="<?php echo(str_replace('"', '"', $row_WAATKusers['street_address'])); ?>" size="32" /></td>
</tr>
<tr>
<th>City and Colonia:</th>
<td><input type="text" class="WAATKTextField" name="city_colonia" id="city_colonia" value="<?php echo(str_replace('"', '"', $row_WAATKusers['city_colonia'])); ?>" size="32" /></td>
</tr>
<tr>
<th>State or Prov:</th>
<td><input type="text" class="WAATKTextField" name="state_prov" id="state_prov" value="<?php echo(str_replace('"', '"', $row_WAATKusers['state_prov'])); ?>" size="32" /></td>
</tr>
<tr>
<th>Postal Code:</th>
<td><input type="text" class="WAATKTextField" name="postal_code" id="postal_code" value="<?php echo(str_replace('"', '"', $row_WAATKusers['postal_code'])); ?>" size="32" /></td>
</tr>
<tr>
<th>Country:</th>
<td><input type="text" class="WAATKTextField" name="country" id="country" value="<?php echo(str_replace('"', '"', $row_WAATKusers['country'])); ?>" size="32" /></td>
</tr>
</table>
<div class="WAATKButtonRow">
<input type="image" hspace="0" vspace="0" border="0" name="Update" id="Update" value="Update" alt="Update" src="WA_SecurityAssist/images/Pacifica/Refined_update.gif" />
<input name="id" type="hidden" id="WAATKUpdateRecordID" value="<?php echo(rawurlencode($row_WAATKusers['id'])); ?>" />
<input type="hidden" name="MM_update" value="WAATKUpdateForm" />
</div>
</form>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WAATKusers == 0) { // Show if recordset empty ?>
<div>No record found.</div>
<?php } // Show if recordset empty ?>
Can someone help?