Home  >  Article  >  Backend Development  >  php写每周数据有关问题代码

php写每周数据有关问题代码

WBOY
WBOYOriginal
2016-06-13 12:42:05977browse

php写每周数据问题代码


自已写了一段PHP,发现只能读取当今天的数据,前几天的没显示出来,高手看看应怎改。

<?php <br />
@header("content-Type: text/html; charset=utf-8");<br>
require_once 'inc/site_config.php';<br>
require_once 'inc/db_connections.php';<br>
require_once 'inc/function.php';<br>
mysql_query('set character set "utf8"');<br>
?><br>
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br>
<br>
<br>
<meta><br>
<title>无标题文档</title><br>
<br>
<script></script><!--导航JS--><br>
<script></script><!--导航JS--><br>
<script></script><!--选项卡--><br>
<style><br />
<!--<br />
@font-face {<br />
 font-family:"微软雅黑";<br />
 src:url("微软雅黑.ttf");<br />
} <br />
*{margin:0px auto;padding:0px; }<br />
body {<br />
    color: #666666;<br />
    font-size: 12px;<br />
}<br />
a:link,a:visited,a:hover,a:active{color: #666666;text-decoration: none; font-size:12px;}<br />
/*全球经济数据*/<br />
#qqjjsj{float:left; overflow:hidden; width:580px; margin-bottom:10px;}<br />
<br />
#qqjjsj_title{<br />
	height:30px;<br />
	background:url(http://www.hkjinku.com/statics/2013/element.gif) 0 -109px repeat-x;<br />
	margin:0 6px;<br />
}<br />
#qqjjsj_title li{<br />
	float:left;<br />
	width:110px;<br />
	height:30px;<br />
	line-height: 34px;<br />
	font-weight:bold;<br />
	font-size:14px;<br />
	display:inline;<br />
	cursor:pointer;<br />
	text-align:center;<br />
}<br />
#qqjjsj_title li.active{<br />
	background-image:url(http://www.hkjinku.com/statics/2013/element.gif);<br />
	background-position:-2px -60px;<br />
	background-repeat:no-repeat;<br />
	color:#FFF;<br />
}<br />
#qqjjsj_title li.unactive{<br />
	background-image:url(http://www.hkjinku.com/statics/2013/element.gif);<br />
	background-position:0 -109px;<br />
	background-repeat:repeat-x;<br />
	color:#CCC;<br />
}<br />
#qqjjsj_content{ float:left; width:570px; border:#381610 5px solid; overflow:hidden;}<br />
<br />
.tab-hd{ height:30px;}<br />
.tab-bd{ height:150px; overflow:hidden;}<br />
.tab-bd .scrollFlow{ height:300px; overflow:hidden;}<br />
.tab-bd .item{ height:150px; display:block; }<br />
.tab-dl dl{ width:100%; height:30px; cursor:pointer;} <div class="clear">
                 
              
              
        
            </style>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn