求高手写一个简单的index.php

RT...新手弄了一个论 坛+个人主页..空间服 务商提供的域 名没有直接指向论 坛和SS...我想弄一个index.php放到主域 名的根目录下做两个站 点的引导页(实际上传了一个php文件证明域 名可以解析)..这个php文件不需要太多的内容..只要在中央显眼的位置添加有按钮连 接到两个站 点..整个网 页有个好看的背景..最好是能做成flash网 页的感觉...哪位高手能帮我做一个这样的网 页啊

不要那种一张背景图片上面放俩超 链 接的..那样的我自己就能写

<?php include "conn/conn.php";?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>一般搜索</title>
</head>
<script language="javascript">
function Mycheck(form){
if (form.txt_tj.value=="")
{ alert("请输入要搜索的关键字!");form.txt_tj.focus();return(false) ;}
return(true);
}
</script>
<body>
<table width="777" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="myform" method="post" action="" onSubmit="return Mycheck(this)">
<tr>
<td width="717" height="182" background="images/images_01.gif"> </td>
</tr>
<tr>
<td height="31" align="center" bgcolor="#FCFCDC">
<input name="txt_tj" type="text" id="txt_tj" size="50">
  <input name="submit" type="submit" id="submit" value="搜索" ></td>
</tr>
</form>
<tr>
<td align="center" valign="top" bgcolor="#FCFCDC">
<br>
<table width="700" border="0" cellpadding="0" cellspacing="0">
<?php
if($_POST["submit"]<>""){
$txt_tj=trim($_POST["txt_tj"]);
$sql=mysql_query("select * from tb_book where synopsis like '%$txt_tj%' or bookname like '%$txt_tj%' order by id desc");
$info=mysql_fetch_array($sql);
}
if($info){
do{
?>
<tr>
<td height="23"> <font color="#CC0033">◎ <?php echo $info[bookname];?></font></td>
</tr>
<tr>
<td>     <?php echo $info[synopsis];?></td>
</tr>
<?php }while($info=mysql_fetch_array($sql));
}else{
?>
<tr>
<td>对不起,您检索的信息不存在!</td>
</tr>
<?php
}
?>
</table>
<br></td>
</tr>
</table>

</body>
</html>
温馨提示:答案为网友推荐,仅供参考
第1个回答  2010-02-25
index.php

<?php
echo '<a href="a网站地址">a网站</a><a href="b网站地址"b网站</a>';

?>本回答被网友采纳
第2个回答  推荐于2018-03-08
我觉得您还是采纳wmtzs630qc的答案 因为这样就已经实现了楼主的功能 至于外观自己怎么写都是可以的本回答被网友采纳