<?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>Business Computer 7 &#187; Articles</title>
	<atom:link href="http://www.bcseven.com/category/articles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bcseven.com</link>
	<description>คำว่าเพื่อน ไม่มีวันตายสำหรับพวกเรา</description>
	<lastBuildDate>Tue, 06 Jul 2010 04:13:30 +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>RoHS มาตรฐานเพื่อสิ่งแวดล้อม</title>
		<link>http://www.bcseven.com/rohs-%e0%b8%a1%e0%b8%b2%e0%b8%95%e0%b8%a3%e0%b8%90%e0%b8%b2%e0%b8%99%e0%b9%80%e0%b8%9e%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%aa%e0%b8%b4%e0%b9%88%e0%b8%87%e0%b9%81%e0%b8%a7%e0%b8%94%e0%b8%a5%e0%b9%89/</link>
		<comments>http://www.bcseven.com/rohs-%e0%b8%a1%e0%b8%b2%e0%b8%95%e0%b8%a3%e0%b8%90%e0%b8%b2%e0%b8%99%e0%b9%80%e0%b8%9e%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%aa%e0%b8%b4%e0%b9%88%e0%b8%87%e0%b9%81%e0%b8%a7%e0%b8%94%e0%b8%a5%e0%b9%89/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 07:10:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Green]]></category>
		<category><![CDATA[Pb]]></category>
		<category><![CDATA[Pb-Free]]></category>
		<category><![CDATA[Restriction of Hazardous Substances]]></category>
		<category><![CDATA[RoHS]]></category>
		<category><![CDATA[RoHS Compliant]]></category>

		<guid isPermaLink="false">http://www.bcseven.com/?p=864</guid>
		<description><![CDATA[
RoHS ย่อมาจาก Restriction of Hazardous Substances เป็นข้อกำหนดที่ 2002/95/EC ของสหภาพยุโรป (EU) ว่าด้วยเรื่องของการใช้สารที่เป็นอันตรายในอุปกรณ์เครื่องใช้ไฟฟ้าและอิเล็กทรอนิกส์ ซึ่งหมายความรวมถึงเครื่องใช้ทุกชนิด ที่ต้องอาศัยไฟฟ้าในการทำงาน เช่น โทรทัศน์ เตาอบไมโครเวฟ วิทยุ เป็นต้นซึ่งหมายความว่า ชิ้นส่วนทุกอย่างที่ประกอบเป็นเครื่องใช้ไฟฟ้านั้น ตั้งแต่แผงวงจร อุปกรณ์อิเล็กทรอนิกส์ ไปจนถึงสายไฟ จะต้องผ่านตามข้อกำหนดดังกล่าว โดยสารที่จำกัดปริมาณในปัจจุบัน กำหนดไว้ 6 ชนิด ดังนี้ 
               1.ตะกั่ว (Pb)                                          ไม่เกิน 0.1% โดยน้ำหนัก 
               2.ปรอท (Hg)                                         ไม่เกิน 0.1% โดยน้ำหนัก 
               3.แคดเมียม (Cd)                                    ไม่เกิน 0.01% โดยน้ำหนัก 
               4.เฮกซะวาเลนท์ (Cr-VI)                           ไม่เกิน 0.1% โดยน้ำหนัก
               5.โพลีโบรมิเนต ไบเฟนนิลส์ (PBB)              ไม่เกิน 0.1% โดยน้ำหนัก
               6.โพลีโบรมิเนต ไดเฟนนิล อีเธอร์ [...]]]></description>
		<wfw:commentRss>http://www.bcseven.com/rohs-%e0%b8%a1%e0%b8%b2%e0%b8%95%e0%b8%a3%e0%b8%90%e0%b8%b2%e0%b8%99%e0%b9%80%e0%b8%9e%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%aa%e0%b8%b4%e0%b9%88%e0%b8%87%e0%b9%81%e0%b8%a7%e0%b8%94%e0%b8%a5%e0%b9%89/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วนลูป ฟิลด์ ใน table สั้น ๆ ง่าย ๆ ครับ</title>
		<link>http://www.bcseven.com/%e0%b8%a7%e0%b8%99%e0%b8%a5%e0%b8%b9%e0%b8%9b-%e0%b8%9f%e0%b8%b4%e0%b8%a5%e0%b8%94%e0%b9%8c-%e0%b9%83%e0%b8%99-table-%e0%b8%aa%e0%b8%b1%e0%b9%89%e0%b8%99-%e0%b9%86-%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2/</link>
		<comments>http://www.bcseven.com/%e0%b8%a7%e0%b8%99%e0%b8%a5%e0%b8%b9%e0%b8%9b-%e0%b8%9f%e0%b8%b4%e0%b8%a5%e0%b8%94%e0%b9%8c-%e0%b9%83%e0%b8%99-table-%e0%b8%aa%e0%b8%b1%e0%b9%89%e0%b8%99-%e0%b9%86-%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 05:21:15 +0000</pubDate>
		<dc:creator>grianggrai</dc:creator>
				<category><![CDATA[php,mysql]]></category>

		<guid isPermaLink="false">http://www.bcseven.com/?p=862</guid>
		<description><![CDATA[เห็นเงียบ ๆ ก็ขอโพสหน่อยครับ
เดี๋ยวจะกลายเป็นเว็บร้างไป
&#8230;.
เมื่อวันก่อน น้องโปรแกรมเมอร์ มีปัญหา เรื่อง insert update table ที่มี ฟิลด์ มากกว่า 100 ฟิลด์(ไม่รู้จะเก็บอะไรกันเยอะแยะ)
เช่น ข้อมูลบุคคล แบบสอบถาม ฯลฯ
ยิ่งเป็น php ด้วยแล้ว ก็มึนเลยครับ พิมพ์ผิดนิดเดียวก็ไม่ได้ เสียเวลานั่งไล่ กันอีกโข ถ้าเป็น .net ก็ดีหน่อย debug ง่ายๆ ขำ ๆ
โค๊ดก็ตามนี้ครับ ลองเอาไปปรับใช้กันดูนะครับ
(หวังเป็นอย่างยิ่งว่าจะเกิดประโยชน์บ้างไม่มากก็น้อย)
Dim rs As New ADODB.Recordset
Dim oField As ADODB.Field
Dim msgtext As Integer
Print #msgtext, &#8221; &#8221;
strsql = &#8220;select * from Employee&#8221;
Set rs = conn.Execute(strsql)
If rs.EOF = False [...]]]></description>
		<wfw:commentRss>http://www.bcseven.com/%e0%b8%a7%e0%b8%99%e0%b8%a5%e0%b8%b9%e0%b8%9b-%e0%b8%9f%e0%b8%b4%e0%b8%a5%e0%b8%94%e0%b9%8c-%e0%b9%83%e0%b8%99-table-%e0%b8%aa%e0%b8%b1%e0%b9%89%e0%b8%99-%e0%b9%86-%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เขียน Functions GetData ไว้ใช้กันดีกว่า(PHP)</title>
		<link>http://www.bcseven.com/%e0%b9%80%e0%b8%82%e0%b8%b5%e0%b8%a2%e0%b8%99-functions-getdata-%e0%b9%84%e0%b8%a7%e0%b9%89%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%81%e0%b8%b1%e0%b8%99%e0%b8%94%e0%b8%b5%e0%b8%81%e0%b8%a7%e0%b9%88%e0%b8%b2/</link>
		<comments>http://www.bcseven.com/%e0%b9%80%e0%b8%82%e0%b8%b5%e0%b8%a2%e0%b8%99-functions-getdata-%e0%b9%84%e0%b8%a7%e0%b9%89%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%81%e0%b8%b1%e0%b8%99%e0%b8%94%e0%b8%b5%e0%b8%81%e0%b8%a7%e0%b9%88%e0%b8%b2/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 08:22:06 +0000</pubDate>
		<dc:creator>ซ่างหัวมัน</dc:creator>
				<category><![CDATA[php,mysql]]></category>

		<guid isPermaLink="false">http://www.bcseven.com/?p=309</guid>
		<description><![CDATA[ไม่รู้จะเริ่มจากตรงใหนก่อนดี เอาเป็นว่าเริ่มจากเรื่องเล็กๆก่อนล่ะกัน
ไม่รู้ว่าเพื่อนๆที่เขียนโปรแกรมเจอปัญหาเหมือนผมหรือเปล่าคืออยาก select ข้อมูลจากฐานข้อมูลมาแสดงแค่ field เดียวแต่ต้อง
เขียนโปรแกรมซ่ะยืดยาว ผมเลยลองหาดูว่าพวกผู้เชียวชาญเขาทำยังไงกันบ้าง จริงๆก็มีทั้งการเขียน function เขียน class
(ผมก็ไม่เคยเขียนสักกะทีไอ้ class หนิ) เอาเป็นว่าเอาแบบง่ายแต่ใช้ได้จริงล่ะกันนะครับด้วยการเขียน function
วิธีการ ก็เหมือนที่เราเขียน funtion ทั่วไปแหล่ะครับคือ
เราต้องสร้างไฟล์ที่เก็บ function ที่เราจะเขียนครับตั้งชื่อเป็นอะไรก็ได้(ที่ไม่เป็น Keywords ของ php) ในที่นี้ผมใช้ชื่อว่า
functions.inc.php
ละกันนะครับ  พอเราตั้งสร้างไฟล์แล้วก็เริ่มเขียน Code กันเลยครับ
&#60;?
function GetData($_field,$_table,$_wcfield,$_wcvalue){
//เริ่มด้วยการประกาศตัวแปรต่างๆที่ใช้ติดต่อกับฐานข้อมูลเหมือนที่เราเขียนกันทั่วๆครับในที่นี้เป็น MySQL ครับ
$_dbhost=&#8221;&#60;ใส่ชื่อ host ของเราครับเช่น &#8216;localhost&#8217;&#62;&#8221;;
$_dbdbname=&#8221;&#60;ใส่ชื่อ Database ของเราครับเช่น &#8216;MyDB&#8217;&#62;&#8221;;
$_dbuser=&#8221;&#60;ใส่ user ที่จะใช้ติดต่อกับ MySQL เช่น &#8216;root&#8217;&#62;&#8221;;//แต่มีผู้คั่กแหน่แนะนำว่าเราควรสร้าง user อื่นขึ้นมาใช้งานนะครับไม่ควรใช้ user root เพื่อความปลอดภัย(โอกาสต่อๆไปจะพูดถึงเรื่องนี้ครับ
$_dbpwd=&#8221;=&#8221;&#60;ใส่ Password ของ user ที่เราใช้ครับเช่น &#8216;123456&#8242;&#62;&#8221;;&#8221;;
//ต่อไปก็เริ่มติดต่อฐานข้อมูลครับ
if($_dbhost==&#8221;" &#124;&#124; $_dbuser==&#8221;" &#124;&#124; $_dbpwd==&#8221;" [...]]]></description>
		<wfw:commentRss>http://www.bcseven.com/%e0%b9%80%e0%b8%82%e0%b8%b5%e0%b8%a2%e0%b8%99-functions-getdata-%e0%b9%84%e0%b8%a7%e0%b9%89%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%81%e0%b8%b1%e0%b8%99%e0%b8%94%e0%b8%b5%e0%b8%81%e0%b8%a7%e0%b9%88%e0%b8%b2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
