当前位置:Linux教程 - Php - 点每张不同的图片在右面显示出来的内容都不一样

点每张不同的图片在右面显示出来的内容都不一样

主页

PHP代码:--------------------------------------------------------------------------------
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<frameset rows="76,*" frameborder="yes" border="0" framespacing="0">
  <frame name="topFrame" scrolling="yes" noresize src="3.html" >
  <frame name="mainFrame" src="" scrolling="YES">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</HTML>

--------------------------------------------------------------------------------


滚动图片页面3.html

PHP代码:--------------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<a href="3.php?id=123456789" target="mainFrame">test</a>
</BODY>
</HTML>

--------------------------------------------------------------------------------


根据图片显示不同信息页面 3.php

PHP代码:--------------------------------------------------------------------------------

<?=$_GET['id']?>

--------------------------------------------------------------------------------