Second Set of Eyes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was wondering if some the knowledge from this group, could help me
track down an error that this code is generating.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<?
include("database.php"); 
//variables
$keyword = $_REQUEST["glosterm"];
$glosterm = null;
echo "<form>";
//create the query
$sql = "SELECT term, defintion FROM tbl_tech_terms where term Like
'%$keyword%';";
$results = mysql_query($sql, $DBconn);
print "<table border = 1 width = auto >";

//get field names
print "<tr><th>Term<th>Definition";

//get row data as an array
while ($row = mysql_fetch_array($results)){
	$Term = $row['term'];
	$defintion = $row['defintion']; 
	print "<tr align ='center'></tr>";
	
}
echo "</form>";
?>
<form>
<form action="../glossary.php" method="post">
Enter The Search Term:
<input name="glosterm" type="text" size="45" maxlength="45">
<input name="Submit" type="button" value="Sumbit">
</form>
</body>
</html>

David


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux