<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Herdian's Blog</title>
	<atom:link href="http://anray13.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anray13.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sat, 07 May 2011 03:55:50 +0000</lastBuildDate>
	<language>id</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='anray13.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Herdian's Blog</title>
		<link>http://anray13.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://anray13.wordpress.com/osd.xml" title="Herdian&#039;s Blog" />
	<atom:link rel='hub' href='http://anray13.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Jual Voucher SPIN</title>
		<link>http://anray13.wordpress.com/2011/05/07/jual-voucher-spin/</link>
		<comments>http://anray13.wordpress.com/2011/05/07/jual-voucher-spin/#comments</comments>
		<pubDate>Sat, 07 May 2011 03:55:49 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Bisnis]]></category>
		<category><![CDATA[Jual - Beli]]></category>
		<category><![CDATA[jual voucher game online]]></category>
		<category><![CDATA[voucher spin]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=424</guid>
		<description><![CDATA[jual voucher game online, voucher spin, jual voucher daerah bandung<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=424&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<address><strong>Halo, para gamer mania !!! </strong></address>
<address><strong>kebetulan saya menjual voucher SPIN (Xshoot, WOLFteam, Dragonica dll)</strong></address>
<address><strong><br />
</strong></address>
<ul>
<li><strong><span style="color:#ff9900;">Voucher SPIN 10 = 11.000 </span></strong></li>
<li><strong><span style="color:#ff9900;">Voucher SPIN 20 = 21.000</span></strong></li>
<li><strong><span style="color:#ff9900;">Voucher SPIN 30 = 30.500</span></strong></li>
<li><strong><span style="color:#ff9900;">Voucher SPIN 50 = 50.000</span></strong></li>
<li><strong><span style="color:#ff9900;">Voucher SPIN 100 = 100.000</span></strong></li>
</ul>
<address><strong>Minimal Pembelian  1 juta diskon 3 %</strong></address>
<address><strong>untuk pembelian minimal 150.000, saya siap antar (untuk daerah Bandung)</strong></address>
<address> </address>
<address><span style="color:#ff0000;"><strong>Contac us :</strong></span></address>
<address><span style="color:#ff0000;"><strong>HP : 085220506774/085722444478 ( SMS/Telpon)</strong></span></address>
<address><span style="color:#ff0000;"><strong>Email : andriherdiansyah@rocketmail.com</strong></span></address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/424/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=424&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2011/05/07/jual-voucher-spin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>
	</item>
		<item>
		<title>Ekor Hujan Di cileunyi Kab.bandung</title>
		<link>http://anray13.wordpress.com/2011/04/27/ekor-hujan-di-cileunyi-kab-bandung/</link>
		<comments>http://anray13.wordpress.com/2011/04/27/ekor-hujan-di-cileunyi-kab-bandung/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 11:48:15 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[kejadian alam]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=416</guid>
		<description><![CDATA[serem liatnya&#8230;:( baru aja kemarin gempa di cilacap,,,ehhh barusan pas iseng buka youtube dapet yg kayak gini<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=416&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2><span style="color:#ff0000;">serem liatnya&#8230;:(</span></h2>
<span style="text-align:center; display: block;"><a href="http://anray13.wordpress.com/2011/04/27/ekor-hujan-di-cileunyi-kab-bandung/"><img src="http://img.youtube.com/vi/LKVHdCpdueg/2.jpg" alt="" /></a></span>
<h3 style="text-align:justify;"><span style="color:#ff0000;">baru aja kemarin gempa di cilacap,,,ehhh barusan pas iseng buka youtube dapet yg kayak gini</span></h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/416/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=416&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2011/04/27/ekor-hujan-di-cileunyi-kab-bandung/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>
	</item>
		<item>
		<title>Mau Jadi Pengusaha Sukses? Tak Usah Kuliah!</title>
		<link>http://anray13.wordpress.com/2010/05/08/mau-jadi-pengusaha-sukses-tak-usah-kuliah/</link>
		<comments>http://anray13.wordpress.com/2010/05/08/mau-jadi-pengusaha-sukses-tak-usah-kuliah/#comments</comments>
		<pubDate>Sat, 08 May 2010 13:31:32 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Bisnis]]></category>
		<category><![CDATA[Info]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bisnis]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[pengembangan diri]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=409</guid>
		<description><![CDATA[Setidaknya itu menurut Bob Sadino, pengusaha kenamaan, saat memberi orasi di Udinus. Menurut dia, seperti yang dilansir Jawa Pos (18/12/07) universitas tidak mengajarkan kita untuk bekerja atau membuat pekerjaan. Universitas, menurut dia, hanyalah tempat pembodohan. Jangan pernah berharap jadi pengusaha sukses hanya dengan mengandalkan sederetan gelar S1, S2 dan S3. “Paling banter Anda akan jadi [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=409&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Setidaknya itu menurut Bob Sadino, pengusaha kenamaan, saat memberi orasi di Udinus. Menurut dia, seperti yang dilansir Jawa Pos (18/12/07) universitas tidak mengajarkan kita untuk bekerja atau membuat pekerjaan. Universitas, menurut dia, hanyalah tempat pembodohan. Jangan pernah berharap jadi pengusaha sukses hanya dengan mengandalkan sederetan gelar S1, S2 dan S3. “Paling banter Anda akan jadi kuli,” begitu katanya mantap.</p>
<p><span id="more-409"></span>Saya setuju dan tidak setuju dengan pendapat Bob Sadino di atas. Setuju, kalau kita kuliah dengan harapan jadi kaya adalah salah jalur. Kuliah, atau belajar, adalah proses pencerdasan. Perluasan wawasan dan, dengan demikian, diharapkan kita akan menjadi “manusia yang lebih baik.”</p>
<p>Dengan demikian, saya tidak setuju dengan anjuran Bob Sadino agar kita tidak usah kuliah.<br />
Belajar setinggi mungkin tidak salah. Yang salah kalau kita belajar sampai gelar tertinggi dengan harapan ingin jadi kaya. Jelas itu bukan jalurnya. Dengan kata lain, itu bukan jalur yang “lazim” untuk menjadi kaya. Seorang dengan gelar doktor atau PhD hanya–berdasar titel–hanya akan menjadi pegawai. Pegawai tinggi atau rendah sama saja. Ia tetap pegawai, kuli. Titik. Kalau dengan menjadi kuli dia kaya, maka jelas kayanya tidak akan melebihi bosnya yang sangat mungkin tidak punya gelar atau cuma bergelar S1.</p>
<p>Jadi, kuliahlah sampai jenjang paling tinggi kalau ingin jadi pinter. Tapi cukuplah selesaikan S1 Anda dan cepat-cepat membina usaha untuk menjadi pengusaha kaya dan sukses. Pilihan di tangan Anda. http://afatih.wordpress.com</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/409/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=409&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2010/05/08/mau-jadi-pengusaha-sukses-tak-usah-kuliah/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>
	</item>
		<item>
		<title>Ada 4 faktor utama mengapa seseorang sulit untuk merealisasikan keinginannya !!!</title>
		<link>http://anray13.wordpress.com/2010/05/08/ada-4-faktor-utama-mengapa-seseorang-sulit-untuk-merealisasikan-keinginannya/</link>
		<comments>http://anray13.wordpress.com/2010/05/08/ada-4-faktor-utama-mengapa-seseorang-sulit-untuk-merealisasikan-keinginannya/#comments</comments>
		<pubDate>Sat, 08 May 2010 05:45:26 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Bisnis]]></category>
		<category><![CDATA[Info]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bisnis]]></category>
		<category><![CDATA[info]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=403</guid>
		<description><![CDATA[Dalam sebuah forum beberapa waktu yang lalu, ada seorang audiens yang menanyakan Mengapa begitu sulit merealisasikan ide? dan apa solisinya? disini akan disampaikan 4 point Utama mengapa seseorang tidak bisa merealisasikan Ide-nya dan solusi tindakan apa yang harus dilakukannya. NIAT &#8211;&#62; Keinginan untuk merealisasikan belum kuat. Disini si pemilik Ide hanya baru sampai tingkat angan-angan. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=403&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dalam sebuah forum beberapa waktu yang lalu, ada seorang audiens yang  menanyakan Mengapa begitu sulit merealisasikan ide? dan apa solisinya?  disini akan disampaikan 4 point Utama mengapa seseorang tidak bisa  merealisasikan Ide-nya dan solusi tindakan apa yang harus dilakukannya.</p>
<ol>
<li><strong>NIAT</strong> &#8211;&gt; Keinginan untuk merealisasikan belum kuat. Disini si pemilik Ide hanya  baru sampai tingkat angan-angan.<br />
Solusinya:<br />
Jika Anda telah  memiliki Ide bagus maka jangan pernah menunggu untuk merealisasikannya  kemudian hari, lakukan SEKARANG, usahakan langkah langkah awal yang bisa  Anda lakukan untuk merealisasikan IDE anda. Jangan pernah takut <span id="more-403"></span>untuk  memulai, karena Anda tidak akan pernah tahu kalo Anda belum mencobanya.</li>
<li><strong>PENGETAHAUAN </strong>&#8211;&gt; Disini si pemilik Ide, memiliki Ide tertentu tetapi pengetahuan untuk  merealisasikannya masih kurang. Terlalu banyak alasan untuk memulai  sehingga IDEnya terlantar.<br />
Solusinya:<br />
Learn by Doing, jangan  menunggu sempuran untuk memulai tetapi lakukan dan sambil belajar,  mungkin Artikel ini bisa sedikit untuk menginspirasi Anda dalam  merealisasikan Ide Anda.</li>
<li><strong>WAKTU</strong> &#8211;&gt; Ada orang yang telah memiliki IDE bisnis tetapi karena kesibukannya  sehingga tidak memiliki banyak waktu untuk merealisasikannya.<br />
Solusinya:<br />
Sebanyak apapun waktu yang kita atau Anda punya, tidak  akan pernah ada cukupnya jika tidak bisa mengaturnya, Sesibuk apapun  kalau bisa memanage waktu pasti akan bisa. Dan perlu di garis bawahi  adalah bukan banyaknya waktu yang diperlukan tetapi kualitas waktu yang  di gunakan.</li>
<li><strong>DANA </strong>&#8211;&gt; Ada Ide bisnis tetapi tidak bisa di realisasikan karena keterbatasan  dana. Solusinya: Memang betul salah satu penyokong  terealisasinya IDE adalah adanya dana tapi itu bukan segalanya.  Berfikirlah sebagai seorang pengusaha, jangan berfikir sebagai seorang  pekerja. Jika Anda berbisnis offline maka lakukan joint venture,  kalau pernah dengar kisahnya Bob Sadino sebelum beliau menjadi  milyarder, beliau bekerja sama dengan pemilik modal melakukan jual beli  ayam, dan Anda tahu hasilnya sekarang seperti apa, atau kalau Anda  pernah jalan-jalan ke kota Parahiyangan &#8220;Bandung&#8221; Anda akan menemukan  banyak Depo pengisian bahan bakar yang ber lebel Al-masoem, bahkan  sampai sekolah, bank, optic, apotik dijalaninya sebegitu besar  kesuksesannya itu berawal dari usaha yang sederhana dengan memanfaatkan  apa yang beliau punya mulai dari bebek sampai menjual bensin  eceran,&#8221;Info ini saya dapat dari salah satu sahabatnya dan sekaligus  karyawannya&#8221;. Ide, itu sifatnya masih mentah sebelum  direalisasikan. Boleh jadi di kepala kita banyak bermunculan Ide – ide  cemerlang, boleh jadi juga kita mempunyai rencana – rencana besar yang  ingin kita lakukan, tapi tanpa realisasi, ide cemerlang dan rencana  besar itu tidak akan akan ada gunanya.  Seiring berjalannya waktu, Ide  dan rencana kita akan menjadi sampah tak berguna, dan membusuk dirubung  lalat, kejam sekali ya..? seperti sebuah nasehat, TAKE ACTION.  Realisasikan Ide cemerlang dan rencana besar Anda. Merealisasikan Ide dan rencana tentunya membutuhkan waktu. Di sinilah  pentingnya kita Memetakan Ide dan rencana kita, agar terhindar dari  kelupaan dan kehilangan Ide cemerlang kita. Memetakan Ide atau rencana  dapat dilakukan dengan corat – coret pada media kertas atau bisa juga  langsung dengan komputer kita. Software khusus untuk Memetakan Ide juga  sudah banyak beredar, tapi untuk yang sederhana rasanya Shape  Brainstorming pada Microsoft Visio sudah cukup. (fn/pm/ho/bp) <a href="http://www.suaramedia.com//">www.suaramedia.com</a></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/403/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=403&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2010/05/08/ada-4-faktor-utama-mengapa-seseorang-sulit-untuk-merealisasikan-keinginannya/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>
	</item>
		<item>
		<title>Dasar Pemrograman PHP dan MySQL II</title>
		<link>http://anray13.wordpress.com/2009/10/08/modul-ii-dasar-dasar-mysql/</link>
		<comments>http://anray13.wordpress.com/2009/10/08/modul-ii-dasar-dasar-mysql/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 15:21:56 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Modul]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=391</guid>
		<description><![CDATA[tips,modul, tutorial<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=391&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>MODUL II: DASAR-DASAR MySQL</strong></p>
<p><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Dalam bahasa SQL pada umumnya informasi tersimpan dalam tabel-tabel yang secara logik merupakan struktur dua dimensi terdiri dari baris (<em>row </em>atau <em>record</em>) dan kolom(<em>column </em>atau <em>field</em>). Sedangkan dalam sebuah <em>database </em>dapat terdiri dari beberapa <em>table</em>.<span id="more-391"></span><br />
</span></p>
<p><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Beberapa tipe data dalam MySQL yang sering dipakai:</span></p>
<table border="1" cellspacing="0" cellpadding="0" width="100%" rules="NONE">
<col width="128*"></col>
<col width="128*"></col>
<tbody>
<tr valign="TOP">
<td width="50%" bgcolor="#000000">
<p style="text-decoration:none;" align="LEFT"><span style="color:#ffffff;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><em><strong><span style="text-decoration:none;">Tipe 			Data</span></strong></em></span></span></span></p>
</td>
<td width="50%" bgcolor="#000000">
<p style="text-decoration:none;" align="LEFT"><span style="color:#ffffff;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><em><strong><span style="text-decoration:none;">Keterangan</span></strong></em></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">INT(M) 			[UMSIGNED]</span></span></span></span></p>
</td>
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">Angka 			-2147483648 s/d 2147483647</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">FLOAT 			(M,D)</span></span></span></span></p>
</td>
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">Angka 			pecahan</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">DATE</span></span></span></span></p>
</td>
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">Tanggal </span></span></span></span></p>
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">Format 			: YYYY-MM-DD</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">DATETIME</span></span></span></span></p>
</td>
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">Tanggal 			dan Waktu</span></span></span></span></p>
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">Format 			: YYYY-MM-DD HH:MM:SS</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">CHAR 			(M)</span></span></span></span></p>
</td>
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">String 			dengan panjang tetap sesuai dengan yang ditentukan. Panjangnya 			1-255 karakter</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">VARCHAR 			(M)</span></span></span></span></p>
</td>
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">String 			dengan panjang yang berubah-ubah sesuai dengan yang disimpan saat 			itu. Panjangnya 1-255 karakter</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">BLOB</span></span></span></span></p>
</td>
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">Teks 			dengan panjang maksimum 65535 karakter</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">LONGBLOB</span></span></span></span></p>
</td>
<td width="50%" bgcolor="#ffffff">
<p style="font-style:normal;font-weight:normal;text-decoration:none;" align="LEFT"><span style="color:#000000;"><span style="font-family:Thorndale, serif;"><span style="font-size:small;"><span style="text-decoration:none;">Teks 			dengan panjang maksimum 4294967295 karakter</span></span></span></span></p>
</td>
</tr>
</tbody>
</table>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>MEMBUAT DATABASE DAN TABLE</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Untuk masuk ke dalam program MySQL pada prompt jalankan perintah berikut ini:</span></strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"> C:\&gt; MYSQL (Enter)</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Kemudian akan masuk kedalam MySQL seperti tampilan dibawah ini:</span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;"><img class="aligncenter size-thumbnail wp-image-392" title="10" src="http://anray13.files.wordpress.com/2009/10/10.jpg?w=150&#038;h=54" alt="10" width="150" height="54" /></span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Bentuk prompt “mysql&gt;” adalah tempat menuliskan perintah-perintah MySQL. Setiap perintah SQL harus diakhiri dengan tanda titik-koma “;” .</span></span></span></span></p>
<p><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Cara untuk membuat sebuah database baru adalah dengan perintah:</span></p>
<p style="margin-bottom:0;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> create database namadatabase;</span></span></p>
<p><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Contoh:</span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;">create database privatdb;</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Untuk membuka sebuah database dapat menggunakan perintah berikut ini:</span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"> use namadatabase;</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Contoh:</span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:x-small;"><span style="font-weight:normal;">use privatdb;</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:x-small;"><span style="font-weight:normal;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Perintah untuk membuat tabel baru adalah:</span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"> create table namatabel</span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> (</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> struktur</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> );</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Contoh:</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Misalkan kita ingin menyimpan data anggota yaitu: nomor, nama, email, alamat, kota. Sedangkan strukturnya seperti tabel dibawah ini:</span></span></span></p>
<table border="1" cellspacing="0" cellpadding="5" width="100%">
<col width="85*"></col>
<col width="85*"></col>
<col width="85*"></col>
<tbody>
<tr valign="TOP">
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Kolom/fielld</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Tipe 			data</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Keterangan</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">nomor</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Int(6) 			not null primary key</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Angka 			dengan panjang maksimal 6, sebaga primary key, tidak boleh kosong</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">nama</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Char(40) 			not null</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Teks 			dengan panjang maksimal 40 karakter, tidak boleh kosong</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">email</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Char(255) 			not null</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Teks 			dengan panjang maksimal 255karakter, tidak boleh kosong</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">alamat</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Char(80) 			not null</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Teks 			dengan panjang maksimal 80 karakter, tidak boleh kosong</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">kota</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Char(20) 			not null</span></span></span></p>
</td>
<td width="33%">
<p style="text-decoration:none;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="text-decoration:none;">Teks 			dengan panjang 20 krakter, tidak boleh kosong</span></span></span></p>
</td>
</tr>
</tbody>
</table>
<p style="margin-bottom:0;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Perintah MySQL untuk membuat tabel seperti diatas adalah:</span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"> create table anggota(</span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> nomor int(6) not null primary key,</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> nama char(40) not null,</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> email char(255) not null,</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> alamat char(80) not null,</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> kota char(20) not null</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> );</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;font-size:small;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><br />
</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Sedangkan data yang akan diisikan dalam tabel anggota adalah sebagai berikut:</span></span></span></p>
<table border="1" cellspacing="0" cellpadding="5" width="100%">
<col width="23*"></col>
<col width="51*"></col>
<col width="76*"></col>
<col width="72*"></col>
<col width="35*"></col>
<tbody>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Nomor</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Nama</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">E-Mail</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Alamat</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Kota</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">1</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Arini 			Nurillahi</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Arini@hotmail.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Lebak Rejo 			7</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Surabaya</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">2</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Renny Herlina</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Rennyherlina@yahoo.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Hayam 			Wuruk 81</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Bau Bau</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">3</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Anon Kuncoro</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">anonkuncoro@yahoo.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl.Candi 			Permata II/182</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Semarang</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">4</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Bayu</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">bayu@astaga.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Pemuda 19</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Surabaya</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">5</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Riza</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">riza@themail.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Karang 			Menjangan 5</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Surabaya</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">6</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Paul</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">paul@rocketmail.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Metojoyo 			A-10</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Malang</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">7</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Anita</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">anita@netscape.net</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Teuku Umar 			45</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Malang</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">8</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Yusuf</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">yusuf@hotmail.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Rajawali 			78</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Mojokerto</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">9</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Ali</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">ali77@astaga.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Hasanudin 			3</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Mojokerto</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">10</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Aji</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">ajisaka77@yahoo.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Kalilom 			Lor Kelinci 9</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Surabaya</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">11</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Latief</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">latif@mail.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Merak 171</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Surabaya</span></span></td>
</tr>
<tr valign="TOP">
<td width="9%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">12</span></span></td>
<td width="20%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Supri</span></span></td>
<td width="30%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">supri@themail.com</span></span></td>
<td width="28%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Jl. Sudirman 			12</span></span></td>
<td width="14%"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Malang</span></span></td>
</tr>
</tbody>
</table>
<p><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Untuk memasukkan sebuah baris (record) kedalam tabel MySQL adalah sebagai berikut:</span></p>
<p><span style="font-family:Verdana, sans-serif;font-size:11px;">insert into namatabel values(kolom1, kolom2, kolom3,…);</span></p>
<p><span style="font-family:Verdana, sans-serif;font-size:11px;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Contoh:</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"> insert into anggota values(‘1’,’Arini Nurillahi’,’arini@hotmail.com’,’Jl.Lebak Rejo7’,’Surabaya’);</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>MENAMPILKAN ISI TABLE</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Isi tabel dapat ditampilkan dengan menggunakan perintah SELECT, cara penulisan perintah SELECT adalah:</span></strong></span></span></p>
<p style="margin-bottom:0;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> select kolom from namatable;</span></span></p>
<p style="margin-bottom:0;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><img class="aligncenter size-thumbnail wp-image-393" title="11" src="http://anray13.files.wordpress.com/2009/10/11.jpg?w=150&#038;h=71" alt="11" width="150" height="71" /></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-weight:normal;">Contoh:</span></span></span></p>
<p style="margin-bottom:0;">• <span style="font-family:SymbolMT;"><span style="font-size:x-small;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-weight:normal;">Untuk menampilkan kolom (field) nomor dan nama pada tabel anggota</span></span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> select nomor, nama from anggota;</span></span></p>
<p style="margin-bottom:0;" align="LEFT">• <span style="font-family:SymbolMT;"><span style="font-size:x-small;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Untuk menampilkan semua kolom(field) pada tabel anggota</span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> select * from anggota;</span></span></p>
<p style="margin-bottom:0;" align="LEFT">• <span style="font-family:SymbolMT;"><span style="font-size:x-small;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Untuk menampilkan semua kolom pada tabel anggota yang berada pada kota <span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13px;">‘<span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Surabaya’</span></span></span></span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> select * from anggota where kota=’Surabaya’;</span></span></p>
<p style="margin-bottom:0;" align="LEFT">• <span style="font-family:SymbolMT;"><span style="font-size:x-small;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Untuk menampilkan semua kolom pada tabel anggota dengan urut nama</span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> select * from anggota order by nama;</span></span></p>
<p style="margin-bottom:0;" align="LEFT">• <span style="font-family:SymbolMT;"><span style="font-size:x-small;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Untuk menghitung jumlah record pada tabel anggota</span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> select count(*) from anggota;</span></span></p>
<p style="margin-bottom:0;" align="LEFT">• <span style="font-family:SymbolMT;"><span style="font-size:x-small;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Untuk menampilkan kota pada tabel anggota</span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> select kota from anggota;</span></span></p>
<p style="margin-bottom:0;" align="LEFT">• <span style="font-family:SymbolMT;"><span style="font-size:x-small;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Untuk menampilkan kota dengan tidak menampikan kota yang sama pada tabel</span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">anggota</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> select distinct kota from anggota;</span></span></p>
<p style="margin-bottom:0;" align="LEFT">• <span style="font-family:SymbolMT;"><span style="font-size:x-small;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;">Untuk menampilkan nama dan email yang mempunyai email di ‘yahoo.com’</span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> select nama,email from anggota where email like ‘%yahoo.com’;</span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>MENGHAPUS RECORD</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Untuk menghapus suatu record dengan kriteria tertentu digunakan perintah sebagai berikut:</span></strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"> delete from namatabel where kriteria;</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"><br />
</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Contoh:</span></span></span></span></p>
<p style="margin-bottom:0;">• <span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-weight:normal;">Menghapus record dari tabel anggota yang bernomor ‘3’</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> delete from anggota where nomor=’3’;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;font-size:small;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><br />
</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>MEMODIFIKASI RECORD</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;"><span style="font-weight:normal;">Untuk memodifikasi (merubah) isi record tertentu adalah dengan menggunakan perintah</span><strong> </strong>sebagai berikut:</span></strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-weight:normal;"> update namatabel set kolom1=nilaibaru1, kolom2=nilaibaru2 … where kriteria;</span></span></span></p>
<p><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Contoh: </span></p>
<p style="margin-bottom:0;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-weight:normal;"><span style="font-size:small;">Merubah e-mail dari anggota yang bernomor 12 menjadi ‘supri@yahoo.com’ <span style="font-size:small;">dalam tabel anggota.</span></span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> update anggota set email=’supri@yahoo.com’ where nomor=’12’;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><br />
</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>MENGHUBUNGKAN PHP DENGAN MySQL</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;"><span style="font-weight:normal;">Agar script PHP yang kita buat dapat berhubungan dengan database dari MySQL dapat </span>menggunakan fungsi berikut ini:</span></strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File utama.php:</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><strong> &lt;</strong><span style="font-weight:normal;">?php</span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> function open_connection()</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> $host=”localhost”;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> $username=”root”;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> $password=””;</span></span></p>
<p style="margin-bottom:0;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> $databasename=”privatdb”;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> $link=mysql_connect($host,$username,$password) or die (&#8220;Database tidak dapat dihubungkan!&#8221;);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> mysql_select_db($databasename,$link);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> return $link;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> ?&gt;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;"><br />
</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Times New Roman', serif;font-size:15px;"><span style="font-weight:normal;">I</span><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-weight:normal;">si dari variabel $host, $username, $password dan $databasename dapat disesuaikan <span style="font-size:small;">sesuai dengan setting pada MySQL server yang ada.</span></span></span></span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Times New Roman', serif;font-size:15px;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-weight:normal;"><span style="font-size:small;">Contoh:</span></span></span></span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Times New Roman', serif;font-size:15px;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-weight:normal;"><span style="font-size:small;">Menampilkan data anggota yang telah dibuat dengan menggunakan script PHP.</span></span></span></span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh13.php:</strong></span></span></p>
<p style="margin-bottom:0;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8211; ambil isi dari file utama.php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">require(&#8220;utama.php&#8221;);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8211; hubungkan ke database</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$link=open_connection();</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8211; menentukan nama tabel</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$tablename=&#8221;anggota&#8221;;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8211; perintah SQL dimasukkan ke dalam variable string</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$sqlstr=&#8221;select * from $tablename&#8221;;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8212; jalankan perintah SQL</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$result = mysql_query ($sqlstr) or die (&#8220;Kesalahan pada perintah SQL!&#8221;);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8212; putus hubungan dengan database</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">mysql_close($link);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8212; buat tampilan tabel</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(&#8220;&lt;table width=100% cellspacing=1 cellpadding=2 bgcolor=#000000&gt;&#8221;);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(&#8220;&lt;tr&gt;&lt;td bgcolor=#CCCCCC&gt;No&lt;/td&gt;&lt;td bgcolor=#CCCCCC&gt;Nama&lt;/td&gt;&lt;td</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">bgcolor=#CCCCCC&gt;E-Mail&lt;/td&gt;&lt;td bgcolor=#CCCCCC&gt;Alamat&lt;/td&gt;&lt;td</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">bgcolor=#CCCCCC&gt;Kota&lt;/td&gt;&lt;/tr&gt;&#8221;);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8212; ambil isi masing-masing record</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">while ($row = mysql_fetch_object ($result))</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">{</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8211; mengambil isi setiap kolom</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$nomor=$row-&gt;nomor;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$nama=$row-&gt;nama;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$email=$row-&gt;email;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$alamat=$row-&gt;alamat;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$kota=$row-&gt;kota;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">// &#8212;&#8212; menampilkan di layar browser</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(&#8220;&lt;tr&gt;&lt;td bgcolor=#FFFFFF&gt;$nomor&lt;/td&gt;&lt;td bgcolor=#FFFFFF&gt;$nama&lt;/td&gt;&lt;td</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">bgcolor=#FFFFFF&gt;$email&lt;/td&gt;&lt;td bgcolor=#FFFFFF&gt;$alamat&lt;/td&gt;&lt;td</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">bgcolor=#FFFFFF&gt;$kota&lt;/td&gt;&lt;/tr&gt;&#8221;);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">}</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(&#8220;&lt;/table&gt;&#8221;);</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;"><img class="aligncenter size-thumbnail wp-image-395" title="12" src="http://anray13.files.wordpress.com/2009/10/12.jpg?w=150&#038;h=98" alt="12" width="150" height="98" /></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Times New Roman', serif;font-size:15px;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-weight:normal;"><span style="font-size:small;"><br />
</span></span></span></span></span></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/391/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=391&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2009/10/08/modul-ii-dasar-dasar-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/10.jpg?w=150" medium="image">
			<media:title type="html">10</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/11.jpg?w=150" medium="image">
			<media:title type="html">11</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/12.jpg?w=150" medium="image">
			<media:title type="html">12</media:title>
		</media:content>
	</item>
		<item>
		<title>Dasar Pemrograman PHP dan MySQL</title>
		<link>http://anray13.wordpress.com/2009/10/07/dasar-pemrograman-php-dan-mysql/</link>
		<comments>http://anray13.wordpress.com/2009/10/07/dasar-pemrograman-php-dan-mysql/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 03:10:25 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Modul]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=375</guid>
		<description><![CDATA[tutorial, tips, modul<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=375&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>MODUL I: PENGENALAN PHP</strong></p>
<p><span style="font-family:'Comic Sans MS', cursive;">PHP adalah bahasa scripting yang menyatu dengan HTML dan dijalankan pada <em>server <span style="font-style:normal;"><em>side</em>. Artinya semua sintaks yang kita berikan akan sepenuhnya dijalankan pada server sedangkan yang dikirimkan ke browser hanya hasilnya saja.</span></em></span></p>
<p><span style="font-family:'Comic Sans MS', cursive;font-size:small;">File contoh1.php:</span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><strong>&lt;</strong><span style="font-weight:normal;">html&gt;</span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;head&gt;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> &lt;title&gt;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> Contoh Sederhana</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> &lt;/title&gt;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;/head&gt;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;body&gt;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(“Hallo apakabar? Nama saya PHP script”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;/body&gt;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span id="more-375"></span>&lt;/html&gt;</span></span></p>
<p style="margin-bottom:0;text-align:center;" align="LEFT"><span style="font-family:Verdana, sans-serif;font-size:small;"><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:small;"><img class="aligncenter size-thumbnail wp-image-376" title="1" src="http://anray13.files.wordpress.com/2009/10/1.jpg?w=150&#038;h=111" alt="1" width="150" height="111" /></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>VARIABLE </strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Dalam PHP setiap nama variable diawali tanda dollar ($). Misalnya nama variable a <span style="font-size:small;">dalam PHP ditulis dengan $a. Jenis suatu variable ditentukan pada saat jalannya program dan tergantung pada konteks yang digunakan.</span></span></strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh2.php:</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$a=”5”;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$b=”2”;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$hasil=$a+$b;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo($hasil);</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;">hasilnya adalah:</span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><img class="aligncenter size-thumbnail wp-image-377" title="2" src="http://anray13.files.wordpress.com/2009/10/2.jpg?w=150&#038;h=62" alt="2" width="150" height="62" /></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh3.php:</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$a=”5”;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$b=”2”;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$hasil=$a.$b;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo($hasil);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;">hasilnya adalah:</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><img class="aligncenter size-thumbnail wp-image-378" title="3" src="http://anray13.files.wordpress.com/2009/10/3.jpg?w=150&#038;h=106" alt="3" width="150" height="106" /></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>STRUKTUR KONTROL</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>IF</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Konstruksi IF digunakan untuk melakukan eksekusi suatu statement secara bersyarat. Cara penulisannya adalah sebagai berikut:</span></strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"><span style="font-style:normal;"><span style="font-weight:normal;"> if (syarat)</span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"> statement</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">atau:</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-style:normal;"><span style="font-weight:normal;">if (syarat)</span></span></span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statement</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> else</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statement lain</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">atau:</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-style:normal;"><span style="font-weight:normal;">if (syarat pertama)</span></span></span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statement pertama</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> elseif (syarat kedua)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statement kedua</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;"> </span></span></span></span><span style="font-style:normal;"><span style="font-weight:normal;">else</span></span></span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statement lain</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh5.php:</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$a=4;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$b=9;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">if ($a&gt;$b)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> echo(“a lebih besar dari pada b”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">elseif ($a&lt;$b)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> echo(“a lebih kecil b”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">else</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> echo(“a sama dengan b”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Hasilnya adalah:</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;"><img class="aligncenter size-thumbnail wp-image-379" title="4" src="http://anray13.files.wordpress.com/2009/10/4.jpg?w=150&#038;h=98" alt="4" width="150" height="98" /></span></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>WHILE</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Bentuk dasar dari statement While adalah sebagai berikut:</span></strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">while (syarat)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statement</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">Arti dari statemant While adalah memberikan perintah untuk menjalankan statement dibawahnya secara berulang-ulang, selama syaratnya terpenuhi.</span></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh6.php:</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$a=1;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">while ($a&lt;10)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> echo($a);</span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> $a++;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;">Hasilnya adalah:</span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><img class="aligncenter size-thumbnail wp-image-380" title="5" src="http://anray13.files.wordpress.com/2009/10/5.jpg?w=150&#038;h=83" alt="5" width="150" height="83" /></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>FOR</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Cara penulisan statement FOR adalah sebagai berikut:</span></strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> for (ekspresi1; ekspresi2 ; ekspresi3)</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statement</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">ekspresi1 menunjukkan nilai awal untuk suatu variable</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">ekspresi2 menunjukkan syarat yang harus terpenuhi untuk menjalankan statemant</span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;">ekspresi3 menunjukkan pertambahan nilai untuk suatu variable</span></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh7.php:</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"> for ($a=0;$a&lt;10;$a++)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"> echo(“Nilai A = ”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"> echo(“$a”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"> echo(“&lt;br&gt;”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;"> }</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:OCRAExtended, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;">Hasilnya adalah:</span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><img class="aligncenter size-thumbnail wp-image-381" title="6" src="http://anray13.files.wordpress.com/2009/10/6.jpg?w=150&#038;h=136" alt="6" width="150" height="136" /></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>SWITCH</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Statement SWITCH digunakan untuk membandingkan suatu variable dengan beberapa nilai serta menjalankan statement tertentu jika nilai variable sama dengan nilai yang dibandingkan.</span></strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Struktur Switch adalah sebagai berikut:</span></strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> switch (variable)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> case nilai:</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statement</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> case nilai:</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statemant</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> case nilai:</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> statement</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> .</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> .</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> .</span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh8.php:</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$a=2;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">switch($a)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> {</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> case 1:</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> echo(“Nilai variable a adalah satu”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> break;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> case 2:</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> echo(“Nilai variable a adalah dua”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> break;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> case 3:</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> echo(“Nilai variable a adalah tiga”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"> break;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">}</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><strong>Hasilnya adalah:</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><strong><img class="aligncenter size-thumbnail wp-image-384" title="7" src="http://anray13.files.wordpress.com/2009/10/71.jpg?w=150&#038;h=83" alt="7" width="150" height="83" /></strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>REQUIRE</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Statement Require digunakan untuk membaca nilai variable dan fungsi-fungsi dari sebuah file lain. Cara penulisan statement Require adalah:</span></strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-style:normal;"><span style="font-weight:normal;"> require(namafile);</span></span></span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Comic Sans MS', cursive;"><span style="font-size:small;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;"><span style="font-style:normal;"><span style="font-weight:normal;"><span style="font-family:'Comic Sans MS', cursive;font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Statement Require ini tidak dapat dimasukkan diadalam suatu struktur looping misalnya </span></span>while atau for. Karena hanya memperbolehkan pemangggilan file yang sama tersebut hanya sekali saja.</span></span></span></span></span></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh9.php:</strong></span></span></p>
<p style="margin-bottom:0;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">$a=”Saya sedang belajar PHP”;</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">function tulistebal($teks)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">{</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(“&lt;b&gt;$teks&lt;/b&gt;”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">}</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh10.php:</strong></span></span></p>
<p style="margin-bottom:0;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">require(“contoh9.php”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">tulistebal(“Ini adalah tulisan tebal”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(“&lt;br&gt;”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo($a);</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>Hasilnya adalah:</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><img class="aligncenter size-thumbnail wp-image-385" title="8" src="http://anray13.files.wordpress.com/2009/10/8.jpg?w=150&#038;h=91" alt="8" width="150" height="91" /></strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>INCLUDE</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><span style="font-family:'Comic Sans MS', cursive;font-weight:normal;font-size:small;">Statement Include akan menyertakan isi suatu file tertentu. Include dapat diletakkan didalam suatu looping misalkan dalam statement for atau while.</span></strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh11.php:</strong></span></span></p>
<p style="margin-bottom:0;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(“&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&lt;br&gt;”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(“PHP adalah bahasa scripting&lt;br&gt;”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(“&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&lt;br&gt;”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">echo(“&lt;br&gt;”);</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>File contoh12.php:</strong></span></span></p>
<p style="margin-bottom:0;font-weight:normal;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">&lt;?php</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">for ($b=1; $b&lt;5; $b++)</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">{</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">include(“contoh11.php”);</span></span></p>
<p style="margin-bottom:0;" align="LEFT"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">}</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:Verdana, sans-serif;"><span style="font-size:xx-small;">?&gt;</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>Hasilnya adalah:</strong></span></span></p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong><img class="aligncenter size-thumbnail wp-image-386" title="9" src="http://anray13.files.wordpress.com/2009/10/9.jpg?w=115&#038;h=150" alt="9" width="115" height="150" /> </strong></span></span></p>
<p style="margin-bottom:0;">MOdul II&#8230;.</p>
<p style="margin-bottom:0;"><span style="font-family:'Times New Roman', serif;"><span style="font-size:small;"><strong>referensi : www.ilmukomputer.com</strong></span></span></p>
<p style="margin-bottom:0;font-style:normal;font-weight:normal;">
<p style="margin-bottom:0;font-style:normal;font-weight:normal;">
<p style="margin-bottom:0;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/375/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=375&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2009/10/07/dasar-pemrograman-php-dan-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/1.jpg?w=150" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/2.jpg?w=150" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/3.jpg?w=150" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/4.jpg?w=150" medium="image">
			<media:title type="html">4</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/5.jpg?w=150" medium="image">
			<media:title type="html">5</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/6.jpg?w=150" medium="image">
			<media:title type="html">6</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/71.jpg?w=150" medium="image">
			<media:title type="html">7</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/8.jpg?w=150" medium="image">
			<media:title type="html">8</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/10/9.jpg?w=115" medium="image">
			<media:title type="html">9</media:title>
		</media:content>
	</item>
		<item>
		<title>pagi&#8230;.</title>
		<link>http://anray13.wordpress.com/2009/09/30/pagi/</link>
		<comments>http://anray13.wordpress.com/2009/09/30/pagi/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 01:06:09 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Coretan]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=369</guid>
		<description><![CDATA[Pagi ini<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=369&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>heh ketemu lagi&#8230;</p>
<p>mav yah bru aktif lagi nih blog&#8217;y&#8230;mungkin bosen liat blog saya,,sorry kawan soalnya sibuk niEh bnyaK yang harus dikerjakan.</p>
<p>soalnya skarnG niEh anE lg nYusun TA,,doain yah moga berhasil!!!!,,,amiEn</p>
<p><span id="more-369"></span>skrNG mulai kul lg yah kawan,,,ayo smnGat agar yang kita lakuin bermakna,,,heee</p>
<p>apalagi pagi ini enak bnGT udaranya ,,segaer lg!!!</p>
<p>kn sEjuk k kitanya..buat Kita smanGt!!!</p>
<p>ayo bngun yang belum BnGUn,,,manDi, Sarapan dan laen2&#8230;</p>
<p>ayo Semangat!!!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=369&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2009/09/30/pagi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>
	</item>
		<item>
		<title>Kampus Kehidupan</title>
		<link>http://anray13.wordpress.com/2009/04/07/kampus-kehidupan/</link>
		<comments>http://anray13.wordpress.com/2009/04/07/kampus-kehidupan/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 22:47:16 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Renungan]]></category>
		<category><![CDATA[hidup]]></category>
		<category><![CDATA[kehidupan]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=363</guid>
		<description><![CDATA[hidup<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=363&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hidup adalah ujian, dan ujian perlu persiapan agar momentum dapat diraih penuh kesuksesan. ujiannya sama tapi hasilnya beda-beda, ya&#8217;kan? ada yang lulus, ada yang gagal. ada yang Cumlaude adapula yang kemelut. ujian itu pasti, saat datang tak perlu dihindari atau ditinggal lari, ia akan datang lagi. begitupun jangan mencari-cari ujian. setuju?<br />
kawan, ujian, tentu ada kriteria penilaian . aturan ditetapkan untuk ditaati, bukan untuk dilanggar. jadikan motivasi untuk berprestasi.coba pikirkan , bila semua berlaku semau gue, tanpa batasan, ukuran, dan penilaian, sulit untuk menentukan. nah justru &#8220;orang yang memahami keterbatasan itulah orang yang cerdas.&#8221; berprestasi di tengah keterbatasan itulah pahlawan.<br />
kenapa???<span id="more-363"></span></p>
<ul>
<li>ujian harus sulit? kalau mudah atau dimudahkan, tentu Nggak menantang. Nggak asyik dan nggak beda. ujian itu proses seleksi. kesulitan merupakan tantangan siapa yang paling layak.</li>
</ul>
<ul>
<li>ujian bukan mustahil?bisa ditempuh, asal sungguh-sungguh. bila ujian itu mustahil tentu tidak berguna, tidak bisa untuk memebedakan antara prestasi dan frustasi. ingat..Allah tidak membebani seseorang melainkan sesuai dengan kesanggupannya.</li>
</ul>
<ul>
<li>ujian harus seimbang?ujian itu pasti setara dengan kemampuan kita selaras dengan kondisi kita. persiapkan diri untuk ujian-ujian yang lebih berat. ujian tidak cukup dengan menuliskan jawaban tetapi temukan cara baru untuk maju.</li>
</ul>
<ul>
<li>tak ada kemenangan tanpa ujian..mau nggak engkau diberi ijazah sarjana tanpa harus kuliah?tanpa TA(Tugas Akhir), yang penting bayar aja langsung dapat gelar. kalau mau, kAsihan. Nah sekarang kita pikirkan apa yang harus kita lakukan???&#8230;</li>
</ul>
<p>semangat kawan&#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/363/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=363&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2009/04/07/kampus-kehidupan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://anray13.wordpress.com/2009/04/03/357/</link>
		<comments>http://anray13.wordpress.com/2009/04/03/357/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 09:46:42 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[lain-lain]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=357</guid>
		<description><![CDATA[lain-lain<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=357&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ap yah&#8230;<span id="more-357"></span></p>
<p>nulis ap lg yah,&#8230;</p>
<p>jd binggung uy,,,</p>
<p>oh iyh..pa kbr kwan???</p>
<p>makasih yah yg udh mampir k blog ku,,,tp jngn lpa komentar&#8217;y,,hehehe</p>
<p>ah udh bterai&#8217;y abiZZ uy&#8230;</p>
<p>nah&#8230;.skr baterai&#8217;y dah pnh!!! tp mw nuliZ ap nih&#8230;&#8230;bingung uy</p>
<p>td bt kuL jam 7 pgi,,,sbnr&#8217;y mLaz sich tp Ane paksa&#8217;n soal&#8217;y takut persentasi&#8230;.eh tp ternyata persentasi&#8217;y g  jd lg ah bt pisan&#8230;nah bau ap nie,,,ah swry bau keringat nih,,,hehehe!!!, soal&#8217;y td udh futsal d monumen biasa nyari yg gratis&#8217;n,,he adh cpe uy,,,ah shoLu doelu ah biar diri kita tenang,,,,duh tp skr ngantuk uy udh dlu yah,,,,,</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/357/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=357&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2009/04/03/357/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>
	</item>
		<item>
		<title>Mencegah Penyebaran Virus Melalui Perangkat USB Dengan Mudah</title>
		<link>http://anray13.wordpress.com/2009/03/11/mencegah-penyebaran-virus-melalui-perangkat-usb-dengan-mudah/</link>
		<comments>http://anray13.wordpress.com/2009/03/11/mencegah-penyebaran-virus-melalui-perangkat-usb-dengan-mudah/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 02:30:53 +0000</pubDate>
		<dc:creator>anray13</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://anray13.wordpress.com/?p=329</guid>
		<description><![CDATA[virus<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=329&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-328" title="e0kd2c" src="http://anray13.files.wordpress.com/2009/03/e0kd2c.jpg?w=250&#038;h=182" alt="e0kd2c" width="250" height="182" />Virus hari ini secara umum menyebar melalui dua cara, secara online (melalui jaringan) maupun offline (melalui media penyimpanan fisik). Untuk melakukan infeksi dari satu komputer ke komputer lainnya secara offline, virus akan memanfaatkan tempat penyimpanan yang mudah dibawa-bawa. Mungkin dulunya <em>floppy</em> merupakan media yang paling banyak digunakan, tetapi sekarang muncul <em>flash disk</em> yang berkoneksi USB. Dengan kapasitas yang semakin besar dan harga yang semakin murah, media penyimpanan tersebut semakin digandrungi banyak orang.<span id="more-329"></span></p>
<p>Seiring dengan makin meluasnya penggunaan <em>flash disk</em> penyebaran virus dengan mekanisme offline intensitasnya juga makin tinggi khususnya di Indonesia. Para pembuat virus dari dalam negeri makin kreatif dalam mendesain virus dengan trik-trik tertentu untuk mempercepat penyebaran virus yang mereka buat.</p>
<p>Pada awalnya virus hanya akan menempatkan file berupa program virus ke tempat penyimpanan, jadi setiap kali menghubungkan <em>flash disk</em> ke komputer yang terinfeksi, virus akan menempatkan folder/file virus ke <em>flash disk</em> tersebut tanpa diketahui pemilik. Trik ini lambat laun menjadi mudah dideteksi dan file yang mencurigakan tersebut dengan mudah akan langsung dihapus oleh si pemilik.</p>
<p>Kemudian muncul yang namanya teknik rekayasa sosial (<em>social engineering</em>) di mana virus yang dimasukkan ke flash disk menjadi lebih sulit dikenali dengan meniru/membuat file dan folder yang sama dengan yang sudah ada sebelumnya dan menyembunyikan file asli ataupun dengan membuat file atau folder dengan nama-nama yang menarik perhatian pengguna, semua itu dilakukan dengan harapan agar pengguna mengklik file/ folder tersebut sehingga virus bisa aktif dan masuk ke dalam komputer korban.</p>
<p>Cara penyebaran virus yang sekarang ini sedang <em>booming</em> adalah dengan memanfaatkan fitur Autorun yang ada pada sistem operasi Windows. Fitur ini sebenarnya sangat memudahkan kita yang ingin langsung membuka/memainkan file yang ada di media penyimpanan dengan segera. Tetapi para pembuat virus melihat fitur ini sebagai jalan tercepat untuk membantu penyebaran virus. Dengan menanamkan virus beserta file AUTORUN.inf yang sudah ditulis untuk menjalankan file virus di <em>root directory</em> <em>flash disk</em>, setiap kali pengguna menghubungkan <em>flash disk</em> ke komputer yang fitur Autorun-nya aktif, secara otomatis virus akan langsung dijalankan.</p>
<p>Untuk melakukan pencegahan virus menyebar dengan bantuan fitur Autorun kini Anda tidak perlu repot lagi, seperti melakukan langkah-langkah pengaturan yang panjang dan beresiko. Berkat aplikasi portable dari perusahaan keamanan <a href="http://www.pandasecurity.com/">PandaSecurity</a>, Anda sudah bisa melakukan pengamanan terhadap tempat penyimpanan berkoneksi USB, seperti Flash Disk dalam beberapa kali klik saja. <img class="aligncenter size-full wp-image-330" title="30kdt6r" src="http://anray13.files.wordpress.com/2009/03/30kdt6r.jpg?w=449&#038;h=373" alt="30kdt6r" width="449" height="373" /></p>
<p>Aplikasi gratis bernama <a href="http://research.pandasecurity.com/archive/Panda-USB-and-AutoRun-Vaccine.aspx">Panda USB Vaccine</a> ini memiliki dua cara untuk menangkal penyebaran virus melalui media penyimpanan:</p>
<ol>
<li><strong>Computer Vaccination</strong> &#8211; aplikasi ini akan menonaktifkan fitur AutoRun dari komputer bersistem operasi Windows secara menyeluruh, sehingga program/virus yang memanfaatkan file AUTORUN.inf dan berada di dalam USB/CD/DVD tidak akan dieksekusi/dijalankan secara otomatis. Tapi Anda tetap bisa mengembalikan fitur tersebut ke keadaan semula.</li>
<li><strong>USB Drive Vaccination</strong> &#8211; Virus kini tidak bisa lagi membuat file AUTORUN.inf untuk membantu penyebarannya. Aplikasi ini akan membuat file AUTORUN.inf khusus ke dalam <em>flash disk</em>, di mana file tersebut sudah dirancang supaya tidak bisa diganti, diedit, ataupun dihapus oleh virus. Pengguna juga tidak bisa menghapus file tersebut kecuali dengan melakukan format.</li>
</ol>
<p>Untuk saat ini fasilitas vaksinasi pada perangkat USB hanya berlaku pada tempat penyimpanan berformat FAT &amp; FAT32, namun ke depannya aplikasi ini akan dikembangkan untuk dapat mendukung format NTFS.</p>
<p>Aplikasi ini dapat berjalan pada sistem operasi Windows 2000 SP4, Windows XP SP1-SP3, dan Windows Vista SP0 dan SP1. Silakan unduh aplikasinya <a href="http://www.download.com/Panda-USB-Vaccine/3000-2239_4-10909938.html">Panda USB Vaccine di sini</a>. (<a href="http://www.jkwebtalks.com/2009/03/panda-usb-and-autorun-vaccine-for.html">Sumber</a>)</p>
<p>Sebelum kemunculan aplikasi ini sudah lama saya menemukan beberapa cara pencegahan penyebaran virus melalui USB dengan cara yang hampir mirip. Mengenai cara-caranya bisa Anda baca melalui artikel <a href="http://pandu.poluan.info/blog/itguy-id.php/2008/06/12/winpowertip-cara-melindungi-flash-disk-t">Pepoluan</a> dan <a href="http://ebsoft.web.id/2009/02/27/mencegah-virus-membuat-autoruninf-dengan-super-autorun/">Ebta Setiawan</a>.</p>
<p>referensi : http://udaramaya.com/berita/5046/0/Mencegah_Peyebaran_Virus_Melalui_Perangkat_USB_Dengan_Mudah</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anray13.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anray13.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anray13.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anray13.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anray13.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anray13.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anray13.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anray13.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anray13.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anray13.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anray13.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anray13.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anray13.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anray13.wordpress.com/329/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anray13.wordpress.com&amp;blog=5245494&amp;post=329&amp;subd=anray13&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anray13.wordpress.com/2009/03/11/mencegah-penyebaran-virus-melalui-perangkat-usb-dengan-mudah/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d1abfdbf1b07d84c4adc49e45ceb1d65?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anray13</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/03/e0kd2c.jpg" medium="image">
			<media:title type="html">e0kd2c</media:title>
		</media:content>

		<media:content url="http://anray13.files.wordpress.com/2009/03/30kdt6r.jpg" medium="image">
			<media:title type="html">30kdt6r</media:title>
		</media:content>
	</item>
	</channel>
</rss>
