<form method="post" action="#">
<input type="text" name="search">
<input type="submit">
</form>
<section id="s1"></section>
<?php
include("conn/conn.php");
$sql="select * from tb_info";
$r= mysqli_query($conn, $sql);
$info=mysqli_fetch_array($r,MYSQLI_ASSOC);
?>
<?php
if($info){
do{
?>
<table width="540" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="26">『<?php echo str_ireplace($content,"<font color='#FF0000'>".$content."</font>",$info[type]);?>』 <?php echo str_ireplace($content,"<font color='#FF0000'>".$content."</font>",$info[title]);?> <?php echo str_ireplace($content,"<font color='#FF0000'>".$content."</font>",$info[edate]);?></td>
</tr>
<tr>
<td height="26"> <?php echo str_ireplace($content,"<font color='#FF0000'>".$content."</font>",$info[content]);?></td>
</tr>
<tr>
<td height="26"> 联系人:<?php echo str_ireplace($content,"<font color='#FF0000'>".$content."</font>",$info[linkman]);?> 联系电话:<?php echo str_ireplace($content,"<font color='#FF0000'>".$content."</font>",$info[tel]);?></td>
</tr>
<tr>
<td height="3" background="Images/line1.gif"></td>
</tr>
</table>
<?php
} while($info=mysqli_fetch_array($sql));
}else{
?>
<table width="540" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">您检索的信息资源不存在!</td>
</tr>
</table>
<?php
}
?>