HI!!
I have a question/problem. I have a column in the database called Project. There are 3 projects...we'll call them A, B and C. I have created a drop-down box to choose one of them. After selecting one of the 3, I would like to display the records of the one project selected, but I'm not sure how to do that.
Here is some my code:
$SQL="SELECT * FROM SERVERREQUEST WHERE PROJECT='".$proj."'" ;
//drop-down box
<form name="form1" method="post" action="">
<select name="proj">
<option selected>Select.....</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
</form>
? if ($proj) { ?>
<table width="75%" border="0" cellpadding="3" height="504" align="center">
<tr>
<td colspan="2" height="43">
<b>OASIS Vendor Server Registration</b>
<hr>
</td>
</tr>
//then the rest of the table
<? } ?>
</table>
Can someone please help me!?
THANK YOU!!!
I have a question/problem. I have a column in the database called Project. There are 3 projects...we'll call them A, B and C. I have created a drop-down box to choose one of them. After selecting one of the 3, I would like to display the records of the one project selected, but I'm not sure how to do that.
Here is some my code:
$SQL="SELECT * FROM SERVERREQUEST WHERE PROJECT='".$proj."'" ;
//drop-down box
<form name="form1" method="post" action="">
<select name="proj">
<option selected>Select.....</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
</form>
? if ($proj) { ?>
<table width="75%" border="0" cellpadding="3" height="504" align="center">
<tr>
<td colspan="2" height="43">
<b>OASIS Vendor Server Registration</b>
<hr>
</td>
</tr>
//then the rest of the table
<? } ?>
</table>
Can someone please help me!?
THANK YOU!!!