<?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>遨遊飛翔 &#187; json</title>
	<atom:link href="http://blog.shian.tw/tag/json/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.shian.tw</link>
	<description>學習筆記 For php、jQuery、MySql、Centos、Suse、Server、CodeIgniter</description>
	<lastBuildDate>Sun, 09 Oct 2011 16:00:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://blog.shian.tw/?pushpress=hub'/>
		<item>
		<title>Mysql to json</title>
		<link>http://blog.shian.tw/mysql-to-json.html</link>
		<comments>http://blog.shian.tw/mysql-to-json.html#comments</comments>
		<pubDate>Sun, 10 May 2009 16:00:10 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/?p=301</guid>
		<description><![CDATA[最近剛好在 phpclasses 裡看到有人提供 mysql_to_json，這似乎是挺有趣的一個東西，在好奇之下把檔案抓來試用看看，使用相當簡單而且檔案又很小，或許之後會有用到。在php裡直接寫好條件查詢sql後再丟給這隻去回傳資料庫查到的資料，嗯…或許也是一個方式。 檔案 mysql_to_json 使用 載入mysql_to_json class ?View Code PHP1 include&#40;‘mysql_to_json.class.php’&#41;; 方式1 ?View Code PHP1 2 3 4 5 // 建立一個新的mysql_to_json介面 $mtj = new mysql_to_json&#40;$query&#41;; &#160; //輸出 echo $mtj-&#62;get_json&#40;&#41;; 方式2 ?View Code PHP1 2 3 4 5 //建立一個新的空的mysql_to_json &#8230; <a href="http://blog.shian.tw/mysql-to-json.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/mysql-to-json.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

