日期:2011-11-22 浏览次数:20525 次
PHP上传图片并分页显示,如下代码:
- <?php
- $id=mysql_connect('localhost','root','root');
- mysql_select_db("db_database12",$id);
- mysql_query("set names gb2312");
- ?>
index.php:
- <?php
- session_start();
- include "conn.php";
- if ($page=="")
- {$page=1;};
- ?>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>上传多图片到服务器并分页显示 - www.cxybl.com</title>
- <style type="text/css">
- <!--
- .style1 {font-size: 12px}
- -->
- </style>
- </head>
- <body>
- <table width="450" height="259" border="0" cellpadding="0" cellspacing="0">