Posted: Fri Jun 20, 2003 10:35 am
The error still occurs. I'm almost 100% sure the includes have no connection to the problem. I believe that both of my problems lay somewhere in this statement:
Here is the whole code of updateForm.php:
Code: Select all
<A HREF=update.php?id=$rs['id'];>Edit</A>Code: Select all
<?
include("header.inc");
include("details.inc");
?>
<H2>hoose a Record to Update</H2>
<A HREF="enterForm.php">Enter a Record</A>
<A HREF="searchForm.php">Search Database</A>
<A HREF="userForm.php">Create a New User</A><P><HR></CENTER><P>
<?
include("title.inc");
$query="SELECT * FROM assets ORDER BY location ASC";
$result=mysql_query($query);
while ($rs = mysql_fetch_array($result)) {
print ("<TR ALIGN=CENTER><TD><A HREF=update.php?id=$rs['id'];>Edit</A></TD><TD>" . $rs['itemName'] . "</TD><TD>" . $rs['serialNum'] . "</TD><TD>" . $rs['assetNum'] . "</TD><TD>" . $rs['location'] . "</TD><TD>" . $rs['description'] . "</TD><TD>" . $rs['entryDate'] . "</TD><TD>" . $rs['warranty'] . "</TD></TR>");
}
include("footer.inc");
?>