need help

propz

New Member
Hi, will someone tell me why I get the results I do? Thanks.
the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<HEAD>
</HEAD><body><center><b><i>
<font size=+3 color=red>
Have you turned on the sytem?</font></i><p>
<a href="startover.html"><img src="nobutton.png"></a>
<a href="expiration.php"><img src="yesbutton.png"></a>
</font></body></html>
------------------------------------------------------------------
the results:
fetch_row(); $id = $row[0]; $expiry = (int) $row[1]; if ($expiry > 0) {
$sql = "UPDATE `ctltbl` SET `expiry` = $expiry - 1 where `id` = $id";
if (mysqli_query($link, $sql)) { echo "."; } else {
echo "ERROR: Could not able to execute $sql. " . mysqli_error($link); }
header("location:sysnav.html"); }
echo "We're sorry but your contract has expired. Contact us immediately at [email protected]"; ?>
 
I assume this means you are getting the expiration page? This looks like 2 blocks of code to me, some html and some php
 
Back
Top