Anhar. 2010. PHP & MySql Secara Otodidak. Jakarta : Mediakita. Bin Ladjamudin, Al-Bahra. 2005. Analisis dan Desain Sistem Informasi. Graha Ilmu : Yogyakarta Connolly, T., Begg, C. 2010. Database Systems : a practical approach to design, implementation, and management. 5th Edition. America: Pearson Education. Dennis, A. et al. 2010. Systems Analysis and Design with UML, 4th Edition, John Wiley and Sons, New York. Etnis, Matt, Oct 15 2014, “Reservation Management”. Library Journal. Volume 139, http://search.proquest.com/docview/1586129542/abstract/A9097220514F4E1 9PQ/15?accountid=34643, 15 September 2015. Fathansyah. 2012. Basis Data. Bandung :Cv Informatika. Iqbal, M., Husni, M., & Studiawan, H. 2012. Implementasi Klien SIP Berbasis Web Menggunakan HTML5 dan Node.js. JURNAL TEKNIK ITS. Jogiyanto, H. M., Akt,. Dr., MBA., Prof., Analisis dan Desain Sistem Informasi;Edisi III, Penerbit Andi, Yogyakarta, 2009. Krill, Paul, 2011-06-2, "JavaScript creator ponders past, future". InfoWorld, http://www.culturalview.com/books/javascript.pdf, 15 Spetember 2015. Prabowo, J. h. 2010. Perancangan Aplikasi Pemesanan Tiket Dan Penjadwalan Keberangkatan Bus Antar Propinsi Berbasis Website (PO. Maju Lancar). Jurnal Teknik Informatika, 1-9. Pressman, Roger S. 2007. Rekayasa Perangkat Lunak: pendekatan praktisi. Yasin, Verdi. 2012. Rekayasa Perangkat Lunak Berorientasi Objek. Jakarta : Mitra Wacana
$sql = "SELECT * FROM user WHERE username='".$username."'"; $qry = mysql_query($sql); $row = mysql_num_rows($qry);
if($row !=0){ $sql = "SELECT * FROM user WHERE password='".$pass."' AND username='".$username."'"; $qry = mysql_query($sql); $row = mysql_num_rows($qry);
http://digilib.mercubuana.ac.id/
134
$data = mysql_fetch_assoc($qry); if($row >0){ $_SESSION['username'] = $data['username']; $_SESSION['password'] = $data['password']; $_SESSION['nama_user'] = $data['nama_user']; ?> <script> alert("Berhasil Login"); document.location="./"; <script type="text/javascript"> alert("Maaf username atau password anda salah"); document.location="javascript:history.back(-1)"; <script type="text/javascript"> alert("Maaf username atau password anda salah"); document.location="javascript:history.back(-1)";