Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function [con,table,kolom] = koneksi()
- url = 'jdbc:mysql://localhost:3306/';
- table='data_pasien';
- kolom = {'kode_pasien', 'nama_pasien', 'kategori', 'tempat_lahir', 'tanggal_lahir', 'jenis_kelamin', 'umur', 'alamat', 'telepon', 'keterangan'};
- con = database('db_lp2maray', 'root', '', 'com.mysql.jdbc.Driver', url);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement