Skip to content

Fadhilhakim/data-Mahasiswa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aplikasi CRUD sederhana

Thumbnail Thumbnai2 PHP HTML5 MySQL

Tech stack

  • Bootsrap Icon v1.11.3
  • TailwindCSS v3.4.13
  • MySQL v8.0.30

How to use :

  • Configure Connection koneksi.php
      <?php
      $server = "127.0.0.1";
      $user = "root";
      $pass = "";
      $database = "akademik";
      $conn = mysqli_connect($server, $user, $pass, $database);
    
      if (!$conn) {
          die("<script>alert('Gagal tersambung dengan database.')</script>");
      }
      ?>
  • Create Database
      CREATE DATABASE `akademik` /*!40100 COLLATE 'armscii8_bin' */;
      USE `akademik`;
      CREATE TABLE `mahasiswa` (
      	`id` INT(6) NOT NULL AUTO_INCREMENT,
      	`nama` TEXT(50) NOT NULL,
      	`nim` INT(6) NOT NULL DEFAULT 0,
      	`alamat` TEXT(255) NOT NULL,
      	PRIMARY KEY (`id`)
      )
      COLLATE='armscii8_bin';
    

Releases

No releases published

Packages

No packages published