Hye..halloooo guys..
Ohoooo.. Dah byk kan ilmu baru yg kita dapat? Hehe.. Minggu ni kita beljar apa plak ek... Haaa.. Best tau minggu ni.. Sbb kita kan belajar .php plak.. Hehe..senang je yg ni..kalau nk compare dngan .asp tu... Apa tak nya kan, install je XAMPP kat laptop..done!! Easy rite???
TAPI ALWAYS REMEMBER .. .asp dan .php xboleh buat serentak. Sebelum install XAMPP, IIS kena stop dulu.. how? ni step yg paling easy yg saya guna setiap kali nk switch dari IIS ke XAMPP tu..
Control Panel > System and Security > Administrative Tools > Internet Information Services (IIS) Manager>
Cara nak install XAMPP?
Follow this step, confirm berjaya...
Installing XAMPP.
Creating database using MySQL
Use repeat region
Dah boleh start wat website guna .php plak.. Database .php ni adalah myPhpAdmin.. Senang, user friendly, interface pun menarik jgak. Arini kami akan buat guestbook..tutorial dan note tak dapat lagi..so Prof ajar je kat depan.. Sy dapat selesaikan semua yg Prof ajar..hehe..leganya rasa..perjalnan kelas sy utk authoring ni berjlan lancar.. Rasa happy je bila masuk kelas.
Follow this step, confirm berjaya...
Installing XAMPP.
- Download from the internet.easy and free: http://www.apachefriends.org/download.html
- Then install XAMPP kat laptop atau komputer anda.
- Buka XAMPP tadi dan start Apache dan MySQL sahaja. Jangan gatal tangan nak klik yang lain pulak ye.
Untuk pastikan yang IIS sudah betul closed.. Try this . Click localhost pada browser, akan dapat lihat paparan seperti di bawah:
Creating database using MySQL
- Database name(rename as info) > create > table > save.
- Open Dreamweaver > Open MySQL connection to do connection to the database in Dreamweaver
- Name as register.php.Use form to let the user to key in their details.
- Data that have been entered by user will be saved into database.
- Name it as view.php.View.php will display data that has been entered.
- Data will be read back/view from the database and display at view.php
- To view all that that has been entered by user
Sy xsuka sgt guna komputer makmal actually..so sy bawak lptop sendiri setiap kali kelas.. Bila guna laptop sndiri, bila ada errror pada seting senang nk detect.. Kalau yg makmal.. Guna windows xp..huhu.. Xreti la dgn windows ni. Sy prefer yg Windows Vista dan Windows 7 je ..:). Bukan nk berlagak.. Tp sbb da biasa guna yg ni, so buat apa susahkan diri utk explore windows lama ..kan?