Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
58Activity
×

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
8 Modul Php Dasar

8 Modul Php Dasar

Ratings: (0)|Views: 22,630|Likes:
Published by muhsoleh17

More info:

Published by: muhsoleh17 on Jul 25, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

07/21/2013

pdf

text

original

 
PHP Dasar 
Program Reguler
©
LP3T NurulFikri, 2010Sirojul Munir 
 
Program Reguler & InhousePHP Dasa
DAFTAR ISI
DAFTAR ISI.....................................................................................................................................iKata Pengantar................................................................................................................................ivBab 1Pengenalan PHP.....................................................................................................................11.1 Tujuan:..................................................................................................................................11.2 Scripting................................................................................................................................11.2.1 Client Side Scripts.........................................................................................................11.2.2 Server site scripts...........................................................................................................21.3 Apa itu PHP ?........................................................................................................................21.4 Mengapa PHP ?.....................................................................................................................21.5 Instalasi Apache dan PHP.....................................................................................................31.6 Pengecekan web server (apache) support PHP.....................................................................4Bab 2Dasar-dasar PHP.....................................................................................................................52.1 Tujuan:..................................................................................................................................52.2 Struktur Program PHP ..........................................................................................................52.3 Variabel, tipe data, dan konstanta..........................................................................................62.3.1 Variabel..........................................................................................................................62.3.2 Tipe data .......................................................................................................................92.3.3 Konstanta.......................................................................................................................92.4 Operator..............................................................................................................................102.4.1 Operator Aritmatika.....................................................................................................102.4.2 Operator Assignment ..................................................................................................112.4.3 Operator Bitwise .........................................................................................................112.4.4 Operator perbandingan................................................................................................112.4.5 Operator Error Control................................................................................................122.4.6 Operator Eksekusi.......................................................................................................132.4.7 Operator incrementing/decrementing..........................................................................132.4.8 Operator logika............................................................................................................142.4.9 Operator String ...........................................................................................................142.4.10 Operator Array...........................................................................................................142.5 Bekerja dengan Form HTML..............................................................................................15Bab 3Struktur Kendali...................................................................................................................173.1 Tujuan:................................................................................................................................173.2 Pernyataan seleksi...............................................................................................................173.2.1 Pernyataan if ..............................................................................................................173.2.2 Pernyataan else............................................................................................................183.2.3 Pernyataan elseif..........................................................................................................183.2.4 Pernyataan switch........................................................................................................193.3 Pernyataan Perulangan........................................................................................................193.3.1 Pernyataan for .............................................................................................................193.3.2 Pernyataan while.........................................................................................................203.3.3 Pernyataan do ... while...............................................................................................213.3.4 Pernyataan foreach......................................................................................................213.3.5 Pernyataan break.........................................................................................................223.3.6 Pernyataan continue....................................................................................................223.4 Pernyataan require & include..............................................................................................23LP3T NurulFikrii
 
Program Reguler & InhousePHP Dasa3.4.1 require..........................................................................................................................233.4.2 include.........................................................................................................................243.5 Beberapa Jenis Error...........................................................................................................243.5.1 Contoh Pesan Error.....................................................................................................243.5.2 Error Level..................................................................................................................25Bab 4Data Lanjutan.......................................................................................................................274.1 Tujuan:................................................................................................................................274.2 String...................................................................................................................................274.2.1 Single quoted ..............................................................................................................274.2.2 Double quoted ............................................................................................................274.2.3 Heredoc.......................................................................................................................284.3 Mengakses String sebagai karakter.....................................................................................284.4 Konversi data menjadi string..............................................................................................294.5 Fungsi – fungsi string..........................................................................................................294.5.1 addslashes....................................................................................................................294.5.2 strlen............................................................................................................................304.5.3 rtrim.............................................................................................................................304.5.4 ltrim.............................................................................................................................304.5.5 trim..............................................................................................................................304.5.6 explode........................................................................................................................314.5.7 implode........................................................................................................................314.5.8 substr...........................................................................................................................324.6 Type Casting........................................................................................................................324.7 Array....................................................................................................................................334.7.1 Mambuat Array............................................................................................................334.7.2 Mengakses elemen-elemen array................................................................................354.7.3 Menghapus elemen array.............................................................................................364.7.4 Nested Array................................................................................................................364.7.5 Fungsi-fungsi array......................................................................................................36Bab 5Fungsi...................................................................................................................................395.1 Tujuan:................................................................................................................................395.2 Apa itu fungsi ?...................................................................................................................395.3 Sintaks Fungsi ....................................................................................................................395.4 Fungsi yang didefinisikan user...........................................................................................395.5 Argumen di dalam fungsi....................................................................................................405.6 Nilai balik fungsi (Returning Values).................................................................................415.7 Variable Scope.....................................................................................................................425.8 Memanggil Fungsi dari File lain.........................................................................................43Bab 6Session..................................................................................................................................446.1 Tujuan:................................................................................................................................446.2 Apa itu session ?..................................................................................................................446.3 Variabel-variabel session.....................................................................................................446.4 Fungsi-fungsi session .........................................................................................................456.5 Contoh penggunaan session................................................................................................46Bab 7Pengenalan OOP dengan PHP5............................................................................................477.1 Tujuan :...............................................................................................................................477.2 Apa itu OOP ?.....................................................................................................................477.3 Class dan Object..................................................................................................................477.3.1 Mendefinisikan Class..................................................................................................47LP3T NurulFikriii

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->