At 06:53 15/04/2005, you wrote: >Aku sekarang sedang ngerjain web database pake php, trus aku ada kesulitan >nih!! >aku bikin form yang ada list fieldnya connect ma data base my sql. >Bagaimana memunculkan data yang ada di list field apabila mau di edit???
Kurang jelas nih :) munculkan itu untuk menampilkan data di field form atau munculkan/mengambil data dari mysql ? klo megambil data dari MySql anda harus konek ke database, trus query deh :) ----- $query = "SELECT * from user " ; mysql_pconnect ('localhost','userdatabase','passworduserdataase') ; mysql_select_db ('namatabel') ; $result = mysql_query ($query) while ($row = mysql_fetch_object($result)){ echo $row->userid; echo $row->nama; } ------ Kalau mau menampilkan di form, sama musti query dulu, data mana yg di tampilkan trus ambil deh nilainya :) masukin ke form : <input type="text" name="ID" value="<?=$row->userid;?>"> kurang jelas ? Coba cari sample program di www.hotscripts.com :) -- www.ITCENTER.or.id - Komunitas Teknologi Informasi Indonesia Info, Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] ::: Hapus bagian yang tidak perlu (footer, dst) saat reply! ::: ## Jobs: ITCENTER.or.id/jobs ## Bursa: ITCENTER.or.id/bursa ## Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ITCENTER/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/