Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Guesuper Guesuper is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 408
Rep Power: 14
Guesuper mempunyai hidup yang Normal
Default textfield dengan autocomplete

saya mau tnya mengenai script utk menampilkan datatika secara otomatis seperti pencarian data pada google kalau tdk salah secara autocomplete. saya punya tabel user sbb




Code:

CREATE TABLE IF NOT EXISTS `user` (
`userid` int(50) NOT NULL AUTO_INCREMENT,
`username` varchar(20) DEFAULT NULL,
`nama` varchar(50) DEFAULT NULL,
`password` varchar(50) DEFAULT NULL,
`posisi` varchar(50) DEFAULT NULL,
`nim` int(50) DEFAULT NULL,
`nrp` int(50) DEFAULT NULL,
`kode_prodi` varchar(50) DEFAULT NULL,
`prodi` varchar(50) NOT NULL,
`kelas` varchar(50) DEFAULT NULL,

PRIMARY KEY (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ;

data yg akan d ambil adlah data nim,

jdi ketika user mengetikkan nim, maka akan keluar sendiri isi nim2 tersebut

mohon bantuannya



Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 02:23 AM.


no new posts