<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ChenTaoqian&#039;s Blog &#187; php</title>
	<atom:link href="http://www.chentaoqian.com/archives/category/compute/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chentaoqian.com</link>
	<description>主机,企业邮箱,域名,空间,服务器,Java,Oracle,PHP,Linux,JS,MySQL,Apache</description>
	<lastBuildDate>Wed, 30 Nov 2011 14:35:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>20个很棒的PHP类库</title>
		<link>http://www.chentaoqian.com/archives/544</link>
		<comments>http://www.chentaoqian.com/archives/544#comments</comments>
		<pubDate>Wed, 21 Apr 2010 13:32:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[类库]]></category>

		<guid isPermaLink="false">http://www.chentaoqian.com/?p=544</guid>
		<description><![CDATA[20个很棒的PHP类库，实用又常用。]]></description>
		<wfw:commentRss>http://www.chentaoqian.com/archives/544/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>84个最流行的Drupla模块</title>
		<link>http://www.chentaoqian.com/archives/536</link>
		<comments>http://www.chentaoqian.com/archives/536#comments</comments>
		<pubDate>Sun, 18 Apr 2010 03:26:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[模块]]></category>

		<guid isPermaLink="false">http://www.chentaoqian.com/?p=536</guid>
		<description><![CDATA[你可以没用过，但你不能不知道的84个最流行的Drupal 模块！！！
1.CCK (Content Construction Kit )  用途： 添加字段模块
2. Views  用途：生成列表
3. Phptemplate Theme Engine
4. Tinymce (Wysiwyg Editor)  用途：常用的编辑器之一
5. Printer Friendly Pages   用途：输出有好的页面
6. Akismet
7. Image Module  用途：图片模块
8. Ajax Form Builder
9. Control Panel
10. Simplenews   用途：邮件订阅
11. Feedback
12. Ubercart   用途：商城
13. Flash Gallery   用途：flash相册
14. Adsense Injector
15. Blix Theme
16. Dashboard
17. [...]]]></description>
		<wfw:commentRss>http://www.chentaoqian.com/archives/536/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP + MYSQL 对数据库内数据实现分页显示</title>
		<link>http://www.chentaoqian.com/archives/136</link>
		<comments>http://www.chentaoqian.com/archives/136#comments</comments>
		<pubDate>Sat, 06 Jun 2009 07:39:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[分页]]></category>

		<guid isPermaLink="false">http://www.chentaoqian.com/?p=136</guid>
		<description><![CDATA[　　很多PHP的初学者，都对于WEB页面的分页显示比较困惑，其实分页显示的原理非常简单。我顺手记下，以备不时之需。
问题：我的数据库结构如下
Create database book_list (
　id int unsigned not null auto_increment,
　name varchar(50) not null,
　author varchar(50) not null,
　primary key (id)
)
id： 为书籍的ID言标识，主键
name：书籍名称
author：书书籍作者
本例数据表的比较简单，主要是方便于解释。
现在我们需要这样分页显示这些数据，要求：数据表中已经有 11 条记录，每页显示数据为 5 条，分多页显示。
根据要求现在分析一下，
第一页显示 0 &#8211; 4 条记录
第二页显示 5 &#8211; 9 条记录
第三页显示 10 &#8211; 14 条记录
实际上可以得出如下结论，每次都需要从 $posion 条显示，显示数为 $pageSize ，在mysql中有这样一条SQL语句：
SELECT *
FROM book_list
WHERE 1
LIMIT 0, 5
意思是从第 0 条记录开始，读取 5 条记录。我们可以这一语句的特点来构建我们的函数，其实每次显示时就是要确定 $posion 即可了。实现代码如下：
$pageNO = 3; //确实显示第三页
$posion = ($pageNO &#8211; [...]]]></description>
		<wfw:commentRss>http://www.chentaoqian.com/archives/136/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php调试环境配置</title>
		<link>http://www.chentaoqian.com/archives/130</link>
		<comments>http://www.chentaoqian.com/archives/130#comments</comments>
		<pubDate>Sat, 06 Jun 2009 07:18:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[调试]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://www.chentaoqian.com/?p=130</guid>
		<description><![CDATA[这里讲解一下如何配置PHP调试环境。
1、解压出来的文件夹内对应不同php版本有不同的文件夹
我是php5.2.5所以把5_2_x_comp下的ZendDebugger.dll拷到我的php安装目录（E:\php5.2.5）里。
并把dummy.php拷到你的网站根目录下面
2、打开php.ini，在后面加上：
[Zend]
zend_extension_ts=&#8221;E:\php5.2.5\ZendDebugger.dll&#8221;
zend_debugger.allow_hosts=127.0.0.1/32,127.0.0.1/24
zend_debugger.expose_remotely=allowed_hosts
]]></description>
		<wfw:commentRss>http://www.chentaoqian.com/archives/130/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

