tag:blogger.com,1999:blog-84496495525740401932024-03-04T23:04:19.375-08:00It's My AdventureMiranti Maria Bermulihttp://www.blogger.com/profile/02528739616881605146noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8449649552574040193.post-49856079947339366992012-02-16T18:10:00.000-08:002012-02-16T18:15:36.169-08:00Perintah PHP<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="color: #e06666;">
<br /></div>
<div align="center" class="MsoListParagraphCxSpFirst" style="text-align: center;">
<div style="color: #e06666; font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;">
<b style="mso-bidi-font-weight: normal;"><span style="font-size: 14pt; line-height: 115%;">---Memulai Ngoding PHP---</span></b><span style="font-size: 14pt; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></div>
<ul>
<li><span style="font-family: Symbol; font-size: 14pt; line-height: 115%;"><span style="font: 7pt "Times New Roman";"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Membuat
Program PHP yang pertama</span><span style="font-family: Symbol; font-size: 14pt; line-height: 115%;"><span style="font: 7pt "Times New Roman";"> </span></span></li>
<li><span style="font-family: Symbol; font-size: 14pt; line-height: 115%;"><span style="font: 7pt "Times New Roman";"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Variable
dalam PHP</span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> </span></li>
<li><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Pernyataan
berkondisi</span><span style="font-family: Symbol; font-size: 14pt; line-height: 115%;"><span style="font: 7pt "Times New Roman";"> </span></span></li>
<li><span style="font-family: Symbol; font-size: 14pt; line-height: 115%;"><span style="font: 7pt "Times New Roman";"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Pengulangan
pada PHP</span><span style="font-family: Symbol; font-size: 14pt; line-height: 115%;"><span style="font: 7pt "Times New Roman";"> </span></span></li>
<li><span style="font-family: Symbol; font-size: 14pt; line-height: 115%;"><span style="font: 7pt "Times New Roman";"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Komentar
pada PHP</span></li>
</ul>
</div>
<div class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> Pada bab ini,
banyak yang akan kita pelajari yaitu mengenal fungsi, memakai variable,
perintah berkondisi, dan looping. Selain itu kita dapat mengetahui cara untuk
membuat komentar di PHP. Tetapi, sebelum itu, komputer kalian harus terinstall
aplikasi seperti XAMPP, WAMPP Server terlebih dahulu.</span></div>
<div class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> 1.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Phppertama.php</span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo3; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Contoh perintah yang digunakan :</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP565L6cAACBLPlnl22kuCuoDENuCSgLJp6689OHAjKw2ffIdAHNAx1zbT7idVsGoxascMssFUjjDvuwr0-w71OzCIQyzlyEmyBhd3fO1OIhCI84T_o_RuetS1Qpz4wzOzfCKeZ9GjNVvq/s1600/php+pertama.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="153" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP565L6cAACBLPlnl22kuCuoDENuCSgLJp6689OHAjKw2ffIdAHNAx1zbT7idVsGoxascMssFUjjDvuwr0-w71OzCIQyzlyEmyBhd3fO1OIhCI84T_o_RuetS1Qpz4wzOzfCKeZ9GjNVvq/s400/php+pertama.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"></span></div>
<div align="center" class="MsoListParagraphCxSpLast" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l1 level2 lfo2; text-align: center; text-indent: -.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">1.1.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Perintah PHP Pertama</span></div>
<div align="center" class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
</div>
<div class="MsoListParagraph" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Hasil untuk PHP Pertama :</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw7LoPcbfX4qA6-Q3wSzelHTOUvS14ekzvaSfWRRm_DNtyBI9LHsUX-ZbSnZeQFr7UDJVh-VbytkooN1zQe4BBTzv02_JR-r5Swwbj6rkuBEJIVBlf-rcdCNop4bE0jXJwPmBDC729YCgU/s1600/moz.php+pertama.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="170" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw7LoPcbfX4qA6-Q3wSzelHTOUvS14ekzvaSfWRRm_DNtyBI9LHsUX-ZbSnZeQFr7UDJVh-VbytkooN1zQe4BBTzv02_JR-r5Swwbj6rkuBEJIVBlf-rcdCNop4bE0jXJwPmBDC729YCgU/s400/moz.php+pertama.jpg" width="400" /></a></div>
<div align="center" class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
</div>
<div class="MsoListParagraphCxSpFirst" style="text-align: center; text-indent: -0.25in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">1.2.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Hasil PHP Pertama</span></div>
<div class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> 2.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Ngoding1.php</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Contoh untuk ngoding pertama :</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjXNDw89XOiug38ahnWLjb8AQ_JxYNCgoh4cPDGNVAoCYdqgb7fn7-toA-3IlBrI4zYANTc8YzYwkTj3YDog2pvrq24qZ6UdRrrUBhFNjTLS-p9xt0yQGyfpocmaDYi8jVzoo891T30hAk/s1600/ngoding1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="167" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjXNDw89XOiug38ahnWLjb8AQ_JxYNCgoh4cPDGNVAoCYdqgb7fn7-toA-3IlBrI4zYANTc8YzYwkTj3YDog2pvrq24qZ6UdRrrUBhFNjTLS-p9xt0yQGyfpocmaDYi8jVzoo891T30hAk/s400/ngoding1.jpg" width="400" /></a></div>
<div class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">2.1. </span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Ngoding Pertama</span></div>
<div class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
</div>
<div class="MsoListParagraph" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Dan berikut ini adalah hasilnya :</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtuIG_wnG5I4OSiGIgFNxJ0GawGJy6PrOgeWfDWJAgMFV0Msok4Cz-zC59-KtQ0TZDcLPUzY5zUMR2CCVqBdVUW7XkrouY0bot-S0WUDfXZQVaPbo9RkYFrZiS4AVop1pfr9eBnwdD3c8B/s1600/moz.ngoding+1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="166" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtuIG_wnG5I4OSiGIgFNxJ0GawGJy6PrOgeWfDWJAgMFV0Msok4Cz-zC59-KtQ0TZDcLPUzY5zUMR2CCVqBdVUW7XkrouY0bot-S0WUDfXZQVaPbo9RkYFrZiS4AVop1pfr9eBnwdD3c8B/s400/moz.ngoding+1.jpg" width="400" /></a></div>
<div align="center" class="MsoListParagraph" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-align: center; text-indent: -.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> </span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">2.1.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Hasil Ngoding Pertama</span></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> 3. <span style="font: 7pt "Times New Roman";"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Variabel.php</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Contoh perintah yang digunakan :</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-align: center; text-indent: -0.25in;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6Wqvp34QKBwoewYhfYIBRyJQgJIYz7iaMxDEQAKoBoy1Dp2jTKpYZMbnayJ6a62JQVv3E6yrgD3HWEbbWnrGcRSZIRrsbcvx_KSvTuFmnQ1Ms4u4L3rkpoe2IUQ-r5-gsU2zf4XrbfyOm/s1600/variabel.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="181" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6Wqvp34QKBwoewYhfYIBRyJQgJIYz7iaMxDEQAKoBoy1Dp2jTKpYZMbnayJ6a62JQVv3E6yrgD3HWEbbWnrGcRSZIRrsbcvx_KSvTuFmnQ1Ms4u4L3rkpoe2IUQ-r5-gsU2zf4XrbfyOm/s400/variabel.jpg" width="400" /></a><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> </span>
</div>
<div align="center" class="MsoListParagraphCxSpFirst" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-align: center; text-indent: -.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">3.1.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Perintah Untuk Variabel</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Dan berikut adalah hasilnya :</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKfaRe-7iTwLsL3kz1zxXdQJGSHXcpdxjBq4O0NUpWlelifRJ_jvD9upYL8WIS3cWxn06PBEr5b282YwlPBX8y01fI-C_RF89Cp0wfTIhJiW37nD9Dii8VkhghSSXXmJyUr54sKWmA1AbZ/s1600/moz.+variabel.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKfaRe-7iTwLsL3kz1zxXdQJGSHXcpdxjBq4O0NUpWlelifRJ_jvD9upYL8WIS3cWxn06PBEr5b282YwlPBX8y01fI-C_RF89Cp0wfTIhJiW37nD9Dii8VkhghSSXXmJyUr54sKWmA1AbZ/s400/moz.+variabel.jpg" width="400" /></a></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-align: center; text-indent: -0.25in;">
</div>
<div align="center" class="MsoListParagraph" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-align: center; text-indent: -.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">3.2.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Hasil Untuk Variabel</span></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> 4. <span style="font: 7pt "Times New Roman";"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Ngodinginput.php</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Contoh perintah yang digunakan :</span></div>
<div align="center" class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhje3NoOKuOXMJkvs2b82vPufyyGgTBRmHhzcpZOSOklIzR0lLRVvlDQigFuq286XvvgN9JVrz_nfXuVZ_qyfMZSQEhqqMo01OCAYFWWqlqyXY_BQXgv0k1X1GtdWIbesAYhPNLycPDPSZO/s1600/ngoding+input.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="155" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhje3NoOKuOXMJkvs2b82vPufyyGgTBRmHhzcpZOSOklIzR0lLRVvlDQigFuq286XvvgN9JVrz_nfXuVZ_qyfMZSQEhqqMo01OCAYFWWqlqyXY_BQXgv0k1X1GtdWIbesAYhPNLycPDPSZO/s400/ngoding+input.jpg" width="400" /></a><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> </span>
</div>
<div align="center" class="MsoListParagraph" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-align: center; text-indent: -.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">4.1.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Perintah untuk Ngoding Input</span></div>
<div align="center" class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
</div>
<div class="MsoListParagraph" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Dan berikut ini adalah hasilnya :</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTDVd-bqhBw7ZywRBnPkB9wxMF6gUprY0INQhj9MQC3pAuXz5sS7EUt1cg8uJQNAWFywEQeirmJFuAFYk0Cn7Wt72rm4j2NtxGUrJ3Yp0_QrTgaJ2w7jm5Wm7xffap4FcdDHDy4D2vLPiB/s1600/moz.ngoding+input.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="197" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTDVd-bqhBw7ZywRBnPkB9wxMF6gUprY0INQhj9MQC3pAuXz5sS7EUt1cg8uJQNAWFywEQeirmJFuAFYk0Cn7Wt72rm4j2NtxGUrJ3Yp0_QrTgaJ2w7jm5Wm7xffap4FcdDHDy4D2vLPiB/s400/moz.ngoding+input.jpg" width="400" /></a></div>
<div align="center" class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
</div>
<div align="center" class="MsoListParagraph" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-align: center; text-indent: -.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">4.2.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Hasil untuk Ngoding Input</span></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> </span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> 5.<span style="font: 7pt "Times New Roman";"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Hasilinput.php</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Contoh perintah yang digunakan :</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNtYos5SZiqhMuNwJDZxpsa9Pf8xRNoNfaf0Fwc9n7UeF_dbRwz2UnZC9D3hqP7xkD8EqN3P8dkaZp9WyH_W5k8CFBuhvjGhyxNXdA0PY0b5ZjSg26LSTfKRu0SogNzVaBX8UIw9UrPgOI/s1600/hasil+input.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="165" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNtYos5SZiqhMuNwJDZxpsa9Pf8xRNoNfaf0Fwc9n7UeF_dbRwz2UnZC9D3hqP7xkD8EqN3P8dkaZp9WyH_W5k8CFBuhvjGhyxNXdA0PY0b5ZjSg26LSTfKRu0SogNzVaBX8UIw9UrPgOI/s400/hasil+input.jpg" width="400" /></a></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-align: center; text-indent: -0.25in;">
</div>
<div align="center" class="MsoListParagraph" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-align: center; text-indent: -.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">5.1.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Perintah untuk Hasil Input</span></div>
<div align="center" class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
</div>
<div class="MsoListParagraph" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Dan berikut ini adalah hasilnya :</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgooqC_s0bsomXL6pEgoWqrgjFz5KI1y-jByMD67_xmB3a3WwrqAvIVb2_ZzTGDyYeLtZwTD2unBS9ikO19NDPK-e7xfoJ8COKQ7YsEItDvuc44SlcNa7R10bEwl8C6GfBdbUrzkLB8sK6S/s1600/moz.hasil+input.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="143" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgooqC_s0bsomXL6pEgoWqrgjFz5KI1y-jByMD67_xmB3a3WwrqAvIVb2_ZzTGDyYeLtZwTD2unBS9ikO19NDPK-e7xfoJ8COKQ7YsEItDvuc44SlcNa7R10bEwl8C6GfBdbUrzkLB8sK6S/s400/moz.hasil+input.jpg" width="400" /></a></div>
<div align="center" class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
</div>
<div align="center" class="MsoListParagraphCxSpFirst" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-align: center; text-indent: -.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">5.2.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Hasil Input</span></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> 6.<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Namahari.php</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 14pt; line-height: 115%;">·<span style="font: 7pt "Times New Roman";">
</span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">Contoh perintah yang digunakan :</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisUVZPNce7vz3GWJFS_pvvdYgyEOOX_TpcRqbLVHDm7BmZLQeD123xttLP4osh8ppMGyRqpW43xiWZaHEyoqeHooUNQVaMjcm45QKlu0kxw9t2qAmt3cSGkjJd-UIUYBkKdYX-oiMaKqpG/s1600/nama+hari.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisUVZPNce7vz3GWJFS_pvvdYgyEOOX_TpcRqbLVHDm7BmZLQeD123xttLP4osh8ppMGyRqpW43xiWZaHEyoqeHooUNQVaMjcm45QKlu0kxw9t2qAmt3cSGkjJd-UIUYBkKdYX-oiMaKqpG/s400/nama+hari.jpg" width="400" /></a></div>
<div align="center" class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">6.1. Perintah untuk Memasukkan Nama Hari </span></div>
<div align="center" class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
</div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"><span style="font: 7pt "Times New Roman";"></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> 7. Komentar</span></div>
<div class="MsoListParagraphCxSpLast">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;"> Untuk menambahkan komentar pada
PHP, gunakan perintah komentar <b style="mso-bidi-font-weight: normal;">/* </b>dan
diakhiri dengan tanda <b style="mso-bidi-font-weight: normal;">*/</b>. </span></div>
<div class="MsoListParagraphCxSpLast">
<br /></div>
<div class="MsoListParagraphCxSpLast">
<span style="font-family: "Berlin Sans FB","sans-serif"; font-size: 14pt; line-height: 115%;">SILAHKAN MENCOBA (^_^)V </span></div>
<div align="center" class="MsoListParagraph" style="margin-left: 1in; text-align: center; text-indent: -0.5in;">
<br /></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-align: center; text-indent: -0.25in;">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 1in; text-align: left; text-indent: -0.5in;">
<br /></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-align: left; text-indent: -0.5in;">
<br /></div>Miranti Maria Bermulihttp://www.blogger.com/profile/02528739616881605146noreply@blogger.com0tag:blogger.com,1999:blog-8449649552574040193.post-53471950514398188022012-02-16T16:47:00.000-08:002012-02-16T18:16:41.438-08:00Rangkuman Pertemuan 1<div style="text-align: center;">
<b style="mso-bidi-font-weight: normal;"><span style="font-size: 14pt; line-height: 115%;"> <span style="font-family: "Trebuchet MS",sans-serif;"> </span><span style="color: #e06666; font-family: "Trebuchet MS",sans-serif;">---Pengantar PHP---</span></span></b></div>
<div class="MsoNormal" style="text-align: justify;">
<br /></div>
<ul>
<li style="text-align: center;"><span style="font-size: small;"><span style="font-family: Symbol; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"> Pengertian
PHP</span></span><span style="font-size: small;"><span style="font-family: Symbol; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span></li>
<li style="text-align: center;"><span style="font-size: small;"><span style="font-family: Symbol; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;">Tag
PHP</span></span><span style="font-size: small;"><span style="font-family: Symbol; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span></li>
<li style="text-align: center;"><span style="font-size: small;"><span style="font-family: Symbol; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;">Perbedaan
PHP dan HTML</span></span><span style="font-size: small;"><span style="font-family: Symbol; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span></li>
<li style="text-align: center;"><span style="font-size: small;"><span style="font-family: Symbol; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;">Cara
Kerja PHP</span></span></li>
</ul>
<ol>
<li><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"></span></span><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"></span></span><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;">PHP (Hypertext Preprocessor) adalah bahasa skrip yang dapat ditanamkan
atau disisipkan ke dalam HTML. PHP digunakan untuk membangun sebuah CMS.</span></span><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span></li>
<li><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;">Tag PHP pada HTML berupa <b><?php </b>dan diakhiri dengan <b>?></b>.</span></span><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span></li>
<li><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;">Perintah-perintah dalam HTML bisa
juga digunakan untuk PHP.</span></span><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span></li>
<li><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;">HTML dan PHP hamper sama. Bedanya hanya
berkas yang akan diproses, dikirimkan ke PHP dan prosesnya menghasilkan kode
berupa HTML.</span></span><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span></li>
<li><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;">PHP dapat berkomunikasi dengan
beberapa database seperti Oracle, InterBase, MSQL, MySQL, dsb.</span></span><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span></li>
<li><span style="font-size: small;"><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"><span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-family: "Times New Roman"; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;">Cara kerja PHP : Browser </span><span style="font-size: large;"><span style="font-family: Wingdings; line-height: 115%;">--></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"> melakukan permintaan suatu halaman
web<span style="font-size: large;"> </span></span><span style="font-size: large;"><span style="font-family: Wingdings; line-height: 115%;">--></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"> Browser
mendapatkan alamat dari web server, mengidentifikasi halaman yg diinginkan, dan
menyampaikan segala informasi yang dibutuhkan oleh webserver<span style="font-size: large;"> </span></span><span style="font-size: large;"><span style="font-family: Wingdings; line-height: 115%;">--></span></span><span style="font-family: "Berlin Sans FB","sans-serif"; line-height: 115%;"> Web server selanjutnya mencarikan
file yg di minta dan memberikannya ke browser.</span></span></li>
</ol>
<div align="center" class="MsoNormal" style="text-align: center;">
<br /></div>Miranti Maria Bermulihttp://www.blogger.com/profile/02528739616881605146noreply@blogger.com0