<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: [แนวคิด] การทำ Multi languages ใน DB</title>
	<atom:link href="http://www.jquerytips.com/2009/05/28/multi-languages-db/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/</link>
	<description>Coding is fun.</description>
	<lastBuildDate>Tue, 27 Jul 2010 02:42:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: หุหุ</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-2142</link>
		<dc:creator>หุหุ</dc:creator>
		<pubDate>Tue, 08 Dec 2009 03:04:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-2142</guid>
		<description>เก็บแยก record ไปเลยดีกว่าไหมครับ 

cid  lang  content
1    en    abc
1    th    เอบีซี 
2    en    xyz
2    th    เอ๊ก วาย แซด</description>
		<content:encoded><![CDATA[<p>เก็บแยก record ไปเลยดีกว่าไหมครับ </p>
<p>cid  lang  content<br />
1    en    abc<br />
1    th    เอบีซี<br />
2    en    xyz<br />
2    th    เอ๊ก วาย แซด</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plengfree</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-2093</link>
		<dc:creator>plengfree</dc:creator>
		<pubDate>Thu, 17 Sep 2009 19:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-2093</guid>
		<description>สุดยอดครับ ขออนุญาตินำไปใช้น่ะครับ ได้ทำเว็บ 2 ภาษาพอดีเลย</description>
		<content:encoded><![CDATA[<p>สุดยอดครับ ขออนุญาตินำไปใช้น่ะครับ ได้ทำเว็บ 2 ภาษาพอดีเลย</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bank</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-2085</link>
		<dc:creator>bank</dc:creator>
		<pubDate>Wed, 09 Sep 2009 05:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-2085</guid>
		<description>เยียมมากเลยครับ ^_^</description>
		<content:encoded><![CDATA[<p>เยียมมากเลยครับ ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heypetch</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-2033</link>
		<dc:creator>heypetch</dc:creator>
		<pubDate>Fri, 19 Jun 2009 02:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-2033</guid>
		<description>ตัวอย่างอ่ะครับ [lang=en] การเขียน tag ควรเขียนดังต่อไปนี้ [lang=en]test[/lang][/lang]</description>
		<content:encoded><![CDATA[<p>ตัวอย่างอ่ะครับ [lang=en] การเขียน tag ควรเขียนดังต่อไปนี้ [lang=en]test[/lang][/lang]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tee++;</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-2026</link>
		<dc:creator>Tee++;</dc:creator>
		<pubDate>Sun, 14 Jun 2009 16:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-2026</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-2013&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-2013&quot; rel=&quot;nofollow&quot;&gt;heypetch&lt;/a&gt; :&lt;/strong&gt;
&lt;p&gt;แล้วถ้าใน content ผมมี tag [lang=en][/lang] หล่ะครับ&lt;/p&gt;
&lt;/blockquote&gt;
ก็ Replace มันออกสิ</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-2013"><p>
<strong><a href="#comment-2013" rel="nofollow">heypetch</a> :</strong></p>
<p>แล้วถ้าใน content ผมมี tag [lang=en][/lang] หล่ะครับ</p>
</blockquote>
<p>ก็ Replace มันออกสิ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heypetch</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-2013</link>
		<dc:creator>heypetch</dc:creator>
		<pubDate>Wed, 03 Jun 2009 03:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-2013</guid>
		<description>แล้วถ้าใน content ผมมี tag [lang=en][/lang] หล่ะครับ</description>
		<content:encoded><![CDATA[<p>แล้วถ้าใน content ผมมี tag [lang=en][/lang] หล่ะครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EThaiZone</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-2006</link>
		<dc:creator>EThaiZone</dc:creator>
		<pubDate>Fri, 29 May 2009 06:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-2006</guid>
		<description>เก็บๆ กำลังนึกอยู่เลยว่าจะเก็บ content ยังไง</description>
		<content:encoded><![CDATA[<p>เก็บๆ กำลังนึกอยู่เลยว่าจะเก็บ content ยังไง</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ่joshino</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-2003</link>
		<dc:creator>่joshino</dc:creator>
		<pubDate>Thu, 28 May 2009 19:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-2003</guid>
		<description>&quot;ที่สำคัญ regular อย่าลืม modifier s ด้วยละกัน&quot;

อิอิ ไม่เข้าใจครับ ช่วยอธิบายอีกนิดน่ะครับ ขอบคุณครับ</description>
		<content:encoded><![CDATA[<p>&#8220;ที่สำคัญ regular อย่าลืม modifier s ด้วยละกัน&#8221;</p>
<p>อิอิ ไม่เข้าใจครับ ช่วยอธิบายอีกนิดน่ะครับ ขอบคุณครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 7</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-1994</link>
		<dc:creator>7</dc:creator>
		<pubDate>Thu, 28 May 2009 11:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-1994</guid>
		<description>เข้าใจครับ แหะ แหะ ผมผิดเองแหละ ใน php ไม่ยักกะมี parse_ini() ให้ใช้ เลยไม่ได้อ้างถึง จะหา read_ini/write_ini จากข้างนอก ก็เกรงจะช้ากว่า function ของเฮียแหงมๆ โชว์โง่เลยผม

แต่ที่ผมพูดถึงคือเก็บเป็น ini format หน่ะ ข้อมูลใน DB แหละ เอาออกมาแตกออกมาเป็น array จะแยกภาษา แยกหน้า นับจำนวนภาษาใน content ได้ด้วย(แบบไดนามิก) แต่จริงๆก็เก็บได้หลายแบบแหละเนอะ จะ INI,XML,Serialize ฯลฯ</description>
		<content:encoded><![CDATA[<p>เข้าใจครับ แหะ แหะ ผมผิดเองแหละ ใน php ไม่ยักกะมี parse_ini() ให้ใช้ เลยไม่ได้อ้างถึง จะหา read_ini/write_ini จากข้างนอก ก็เกรงจะช้ากว่า function ของเฮียแหงมๆ โชว์โง่เลยผม</p>
<p>แต่ที่ผมพูดถึงคือเก็บเป็น ini format หน่ะ ข้อมูลใน DB แหละ เอาออกมาแตกออกมาเป็น array จะแยกภาษา แยกหน้า นับจำนวนภาษาใน content ได้ด้วย(แบบไดนามิก) แต่จริงๆก็เก็บได้หลายแบบแหละเนอะ จะ INI,XML,Serialize ฯลฯ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tee++;</title>
		<link>http://www.jquerytips.com/2009/05/28/multi-languages-db/comment-page-1/#comment-1993</link>
		<dc:creator>Tee++;</dc:creator>
		<pubDate>Thu, 28 May 2009 03:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.jquerytips.com/?p=473#comment-1993</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-1990&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-1990&quot; rel=&quot;nofollow&quot;&gt;7&lt;/a&gt; :&lt;/strong&gt;
&lt;p&gt;โอ้โฮ เก็บยังกับ .ini ยังงี้ใช้ parse_ini_file() ไปเลยดิ&lt;/p&gt;
&lt;/blockquote&gt;

มันเก็บแบบนั้นไม่ได้ไงครับ เพราะมันเป็น content ที่มาจาก input ฝั่ง client คือสมมุติ เค้ากรอก Title, Description แบบนี้ ผมจะเอาไปลง *.ini ได้ไงครับ มันก็ต้องเก็บลง DB สิ ถูกมั้ยครับ</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-1990"><p>
<strong><a href="#comment-1990" rel="nofollow">7</a> :</strong></p>
<p>โอ้โฮ เก็บยังกับ .ini ยังงี้ใช้ parse_ini_file() ไปเลยดิ</p>
</blockquote>
<p>มันเก็บแบบนั้นไม่ได้ไงครับ เพราะมันเป็น content ที่มาจาก input ฝั่ง client คือสมมุติ เค้ากรอก Title, Description แบบนี้ ผมจะเอาไปลง *.ini ได้ไงครับ มันก็ต้องเก็บลง DB สิ ถูกมั้ยครับ</p>
]]></content:encoded>
	</item>
</channel>
</rss>
