<?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>mysql_fetch_row($result) กับ mysql_fetch_array($result | SunDay</title>
	<atom:link href="https://sunday.tripinchiangmai.com/tag/mysql_fetch_rowresult-%E0%B8%81%E0%B8%B1%E0%B8%9A-mysql_fetch_arrayresult/feed" rel="self" type="application/rss+xml" />
	<link>https://sunday.tripinchiangmai.com</link>
	<description>Article</description>
	<lastBuildDate>Tue, 23 May 2017 08:02:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8</generator>
	<item>
		<title>mysql_fetch_row($result) กับ mysql_fetch_array($result,MYSQL_ASSOC)</title>
		<link>https://sunday.tripinchiangmai.com/mysql_fetch_rowresult-%e0%b8%81%e0%b8%b1%e0%b8%9a-mysql_fetch_arrayresultmysql_assoc.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql_fetch_rowresult-%25e0%25b8%2581%25e0%25b8%25b1%25e0%25b8%259a-mysql_fetch_arrayresultmysql_assoc</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 20 Nov 2014 04:48:46 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[MYSQL_ASSOC)]]></category>
		<category><![CDATA[mysql_fetch_row($result) กับ mysql_fetch_array($result]]></category>
		<guid isPermaLink="false">http://sunday.tripinchiangmai.com/?p=590</guid>

					<description><![CDATA[<p>mysql_fetch_row($result) จะเหมือนกับ mysql_fetch_array($result,MYSQL_NUM) ส่วน mysql_fetch_assoc($result) จะเหมือนกับ mysql_fetch_array($result,MYSQL_ASSOC) ==================================== mysql_fetch_row การเข้าถึงข้อมูลในแต่ละ Field ใน Record: จะใช้ เลข index แทน เช่น while ($row = mysql_fetch_row($result)){ echo &#8216;Field1: &#8216;.$row[0]; echo &#8216;Field2: &#8216;.$row[1]; } mysql_fetch_array การเข้าถึงข้อมูลในแต่ละ Field ใน Record: จะใช้ เลข index แทน หรือใช้ ชื่อ Field while ($row = mysql_fetch_array($result)){ echo &#8216;Field1: &#8216;.$row[0].&#8217; = &#8216;$row[&#8216;Field1&#8217;]; echo &#8216;Field2: &#8216;.$row[1].&#8217; = &#8216;.$row[&#8216;Field2&#8217;]; [&#8230;]</p>
The post <a href="https://sunday.tripinchiangmai.com/mysql_fetch_rowresult-%e0%b8%81%e0%b8%b1%e0%b8%9a-mysql_fetch_arrayresultmysql_assoc.html">mysql_fetch_row($result) กับ mysql_fetch_array($result,MYSQL_ASSOC)</a> first appeared on <a href="https://sunday.tripinchiangmai.com">SunDay</a>.]]></description>
										<content:encoded><![CDATA[<p>mysql_fetch_row($result) จะเหมือนกับ mysql_fetch_array($result,MYSQL_NUM)</p>
<p>ส่วน<br />
mysql_fetch_assoc($result) จะเหมือนกับ mysql_fetch_array($result,MYSQL_ASSOC)</p>
<p>====================================<br />
mysql_fetch_row<br />
การเข้าถึงข้อมูลในแต่ละ Field ใน Record: จะใช้ เลข index แทน เช่น<br />
while ($row = mysql_fetch_row($result)){<br />
echo &#8216;Field1: &#8216;.$row[0];<br />
echo &#8216;Field2: &#8216;.$row[1];<br />
}</p>
<p>mysql_fetch_array<br />
การเข้าถึงข้อมูลในแต่ละ Field ใน Record: จะใช้ เลข index แทน หรือใช้ ชื่อ Field<br />
while ($row = mysql_fetch_array($result)){<br />
echo &#8216;Field1: &#8216;.$row[0].&#8217; = &#8216;$row[&#8216;Field1&#8217;];<br />
echo &#8216;Field2: &#8216;.$row[1].&#8217; = &#8216;.$row[&#8216;Field2&#8217;];<br />
}</p>
<p>mysql_fetch_assoc<br />
การเข้าถึงข้อมูลในแต่ละ Field ใน Record: จะใช้ชื่อ Field<br />
while ($row = mysql_fetch_assoc($result)){<br />
echo &#8216;Field1: &#8216;.$row[&#8216;Field1&#8217;];<br />
echo &#8216;Field2: &#8216;.$row[&#8216;Field2&#8217;];<br />
}</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<input type="hidden" id="url590" class="posturl" value="https://sunday.tripinchiangmai.com/mysql_fetch_rowresult-%e0%b8%81%e0%b8%b1%e0%b8%9a-mysql_fetch_arrayresultmysql_assoc.html" />
					<input type="hidden" id="com590" class="postcom" value="0" />The post <a href="https://sunday.tripinchiangmai.com/mysql_fetch_rowresult-%e0%b8%81%e0%b8%b1%e0%b8%9a-mysql_fetch_arrayresultmysql_assoc.html">mysql_fetch_row($result) กับ mysql_fetch_array($result,MYSQL_ASSOC)</a> first appeared on <a href="https://sunday.tripinchiangmai.com">SunDay</a>.]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
