Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
P. 1
Tutorial Php Mysql

Tutorial Php Mysql

Ratings: (0)|Views: 1,547 |Likes:
Published by ChiRagirl CwEet

More info:

Published by: ChiRagirl CwEet on Jun 02, 2010
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

02/28/2013

pdf

text

original

 
 
PHP Web Development Page 1 of 60
PHP Web Development
 
 
Instalasi dan pengenalan PHP
 
SQL dengan menggunakan MySQL Server
 
PHP Scripting
 
Array dan String Functions
 
Integrasi PHP dan MySQL
 
Session dan Cookies
 
Handling File Uploads
 
Shopping Cart
 
 
PHP Web Development Page 2 of 60
Daftar Isi
Bagian 1 - Instalasi dan Pengenalan PHP
...........................................................................................4
 
1.1
 
Instalasi PHP........................................................................................................4
 
1.2
 
Instalasi Apache Server 1.3.33..............................................................................4
 
1.3
 
Instalasi MySQL Server.......................................................................................10
 
1.4
 
PHP Language Fundamental................................................................................10
 
1.4.1
 
HTML Tags....................................................................................................11
 
1.4.2
 
 Variabel dalam PHP........................................................................................18
 
1.4.3
 
Control Structure............................................................................................18
 
1.4.4
 
Including PHP script........................................................................................19
 
Bagian 2 – Language Fundamental (Lanjutan)
....................................................................................21
 
2.1
 
Function............................................................................................................21
 
2.2
 
 Array.................................................................................................................22
 
2.3
 
 Array Functions..................................................................................................23
 
2.3.1
 
count............................................................................................................23
 
2.3.2
 
array_keys.....................................................................................................23
 
2.3.3
 
array_values..................................................................................................24
 
2.3.4
 
array_key_exists............................................................................................24
 
2.3.5
 
in_array.........................................................................................................24
 
2.3.6
 
array_splice...................................................................................................24
 
2.3.7
 
array_unique..................................................................................................25
 
2.3.8
 
array_filter.....................................................................................................25
 
2.3.9
 
array_intersect...............................................................................................26
 
2.3.10
 
array_merge..............................................................................................26
 
2.4
 
String Functions.................................................................................................26
 
2.4.1
 
md5..............................................................................................................26
 
2.4.2
 
sha1..............................................................................................................26
 
2.4.3
 
number_format..............................................................................................26
 
2.4.4
 
parse_str.......................................................................................................27
 
2.4.5
 
str_replace.....................................................................................................27
 
2.4.6
 
str_ireplace....................................................................................................27
 
2.4.7
 
addslashes.....................................................................................................27
 
2.4.8
 
stripslashes....................................................................................................27
 
2.4.9
 
strlen............................................................................................................27
 
2.4.10
 
strtolower..................................................................................................27
 
2.4.11
 
strtoupper..................................................................................................27
 
2.4.12
 
substr........................................................................................................27
 
2.4.13
 
trim...........................................................................................................28
 
2.4.14
 
sprintf.......................................................................................................28
 
2.4.15
 
sscanf........................................................................................................28
 
2.4.17
 
implode.....................................................................................................28
 
2.4.18
 
explode.....................................................................................................28
 
2.4.19
 
htmlspecialchars.........................................................................................28
 
2.4.20
 
htmlentities................................................................................................29
 
2.4.21
 
html_entity_decode....................................................................................29
 
2.5
 
Class and Objects...............................................................................................29
 
Bagian 3 – Using MySQL
...........................................................................................................30
 
3.1
 
Membuat database baru.....................................................................................31
 
3.2
 
Membuat tabel baru...........................................................................................31
 
3.3
 
Mengubah struktur tabel.....................................................................................32
 
 
 
PHP Web Development Page 3 of 60
3.4
 
Memanipulasi record dalam tabel.........................................................................32
 
3.5
 
Backup database/tabel to Script...........................................................................32
 
Bagian 4 – Integrating PHP dan MySQL
...........................................................................................37
 
4.2
 
menghitung jumlah record..................................................................................38
 
4.3
 
mengubah data di database................................................................................38
 
Bagian 5 – Data Manipulation
.....................................................................................................40
 
Bagian 6 – Paging dan Filtering
...................................................................................................50
 
6.1
 
Paging...............................................................................................................50
 
6.2
 
Searching..........................................................................................................51
 
Bagian 7 – Session dan Cookies
..................................................................................................52
 
7.1
 
Session..............................................................................................................52
 
7.2
 
Cookies.............................................................................................................53
 
8.1
 
Baca file............................................................................................................55
 
8.2
 
Tulis file............................................................................................................55
 
8.3
 
Menampilkan isi direktori.....................................................................................55
 
8.4
 
Mengubah nama file...........................................................................................55
 
8.5
 
Menghapus suatu file..........................................................................................56
 
8.6
 
Menampilkan file dengan berbagai format............................................................56
 
8.7
 
Uploading files...................................................................................................56
 
Bagian 9 – Shopping Cart
.........................................................................................................58
 

Activity (92)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Agustia Ningsih liked this
Mudit End Puspa liked this
Scratch Linux liked this
Made Sukadana liked this
Hendra Subastian liked this
abbabill liked this

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)//-->