Thursday 4 October 2012

❤ Setup the Contact Form for Website ❤

Posted by kErTaS PeNseL at 01:43
Evening allllll!!!!!!!!!!!

kali nie punye entry aku nk update pasal nk create form dalam website..erm aku gerenti korang mesti selalu google and online blog2 yang jual baju, accessories, tudung n lain2..so bile korang nk beli or order barang, admin blog tue mesti ask korang to fill up the form kan? so korang pun akan isi sume butir2 diri yang die nak kan? haaaa nie lah function nye...form tue create gune page dreamweaver and database tue bile kite key in data akan straight away simpan dalam databse file yang kite create gune access..maksudnye kat sini bile korang isi form tue, data korang sume akan disimpan dalam database file si admin/penjual tue..so bile die open database file die, die boleh tgk la rekod korang yang korang masukkan dalam form kat web td..hehehe tp untuk entry nie, aku bukan nk gtau mcm mane nk buat form jual beli tue..aku just nk tunjuk cr je..then pandai2 lah korg nk manipulate nye..hehehe sebagai contoh nye aku just create simple contact form seperti yang diajar dalam kelas authoring aku....


HOW TO CREATE THE CONTACT FORM?

Step 1: Create New Page in Dreamweaver. 
File > New > Blank Page > ASP VBScript  > Create.


Step 2: Insert a Form. Click Menu Insert. Click Form and select Form. (korang akan nampak red dotted line then korang boleh type form and insert text box)


Step 3: Bile dah siap create form kite boleh save..lecturer aku ajar kalo nk save, save in (filename).asp


erm..dalam kelas aku dah create contact form..and balik kolej aku try buat sendiri..at last aku berjaya buat same mcm dalam kelas..kat lab aku gune pc lab..kat kolej aku try gune lappy aku pulak..Alhamdulillah..I made it!!!! sile tgk kat bawah hasil keje aku....hehehe


contact form yang aku create dalam dreamweaver


so, dah siap dah contact form..after create contact form, kene buat INSERT RECORD..erm ape function insert record nie? ok yang aku faham insert record nie tujuannye nk link kite punye web nie dengan database..so setiap maklumat yang diisi terus akan disimpan kat database file yang kite create gune MS Access..but, mcm mane nk buat insert record? lets check it out!!!


HOW TO DO AN INSERT RECORD?

Dalam lab, kitorang diajar oleh Dr. Zaida step by step untuk buat insert record..senang je..korang scroll kat bwh..ini aku buat berdasarkan kefahaman aku dalam kelas..


Step 1: Click 'Server Behavior' Tab.

Step 2: Click (+) sign and choose Insert Record. (bile click insert record akan appear window mcm pic kat bwh)



Step 3: Make sure connection is ok, database appear as we did dalam Access, then after sume nye selesai just click ok. If it is not ok it means that there is something wrong with the connection..






~Sekian Terima Kasih~ Peace!!!!




0 comments:

Post a Comment

 

kErTaS pEnSeL Template by Ipietoon Blogger Template | Gift Idea