Hi friends I am working on a project where I need to show results based upon user queries.I have created the pages,but results are not showing.as I am new to php I can't figure where the problem is. Here is the code
<html>
<head><title>Showing Results</title></head>
<body bgcolor="#666666">
<?php
include_once "connection.php";
//$clmname=stripslashes(trim($_POST['select']));
//$txtvalue=stripslashes(trim($_POST['value']));
//$txtvalue=$_REQUEST['value'];
$select_query="SELECT * FROM `deed_records` WHERE '".$_REQUEST['select']."'='".$_REQUEST['value']."' ";
$list=mysql_query($select_query);
echo "<table border='1'>
<tr>
<th>Index</th>
<th>Name of Owner</th>
<th>S/D/H Of Owner</th>
<th>Address of Owner</th>
<th>Name of Vendor</th>
<th>Deed No</th>
<th>Reg Date</th>
<th>Rack No</th>
<th>Due Rs.</th>
<th>Delivery Date</th>
</tr>";
while($record=mysql_fetch_array($list))
{
echo "<tr>
<td>".$record['index']."</td>
<td>".$record['name_of_owner']."</td>
<td>".$record['sdh_of_owner']."</td>
<td>".$record['address_of_owner']."</td>
<td>".$record['name_of_vendor']."</td>
<td>".$record['deed_no']."</td>
<td>".$record['date']."</td>
<td>".$record['no']."</td>
<td>".$record['due_rs']."</td>
<td>".$record['delivery_date']."</td>
<td>
</tr>";
}
mysql_close($connect);
?>
</body>
</html>
the two variable values are passed from another page