html>
如图所示,我的网页后台使用php实现的,我想实现没有点击查询按钮时,在下面的表格中显示数据库中的全部项目信息;单击查询后,显示符合条件的项目,目前我的显示这种,我没有设置未点击查询的情况,应该用什么写?JS还是php?大体该怎么写
目前我只写了这个
mysql_select_db("wuliu", $con);
$result=mysql_query("SELECT * from content_info where title='$_POST[textfield22]' and submiter='$_POST[textfield322]' and area='$_POST[select]' and field='$_POST[select2]' and pass=0");
while($row = mysql_fetch_array($result))
{
echo"";
echo "";
echo " ";
echo "".$row['UpdateDate'].$row['UpdateTime']./*2004-10-14 10:08:01*/" ";
echo "".$row['area']." ";
echo "".$row['field']." ";
echo "".$row['title']." ";
echo "".$row['submiter']." ";
echo " ";
}
mysql_close($con);











