This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo "TEST"; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 4.4.14 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: 127.0.0.1 | |
-- Generation Time: Sep 25, 2019 at 05:33 PM | |
-- Server version: 5.6.26 | |
-- PHP Version: 5.6.12 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'contents/header.php'; | |
include '/contents/koneksi.php'; | |
$id = $_POST['id']; | |
$nama = $_POST['nama']; | |
$username = $_POST['username']; | |
$password = $_POST['password']; | |
$email = $_POST['email']; | |
if(empty($nama) || empty($username) || empty($password) || empty($email)) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'contents/header.php'; | |
include '/contents/koneksi.php'; | |
$nama = $_POST['nama']; | |
$username = $_POST['username']; | |
$password = $_POST['password']; | |
$email = $_POST['email']; | |
if(empty($nama) || empty($username) || empty($password) || empty($email)) | |
{ | |
echo "<div class='container'><center><h1><b>CRUD SIMPLE</b></h1></center><hr></div><br/><br/><br/><br/>"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include '/contents/koneksi.php'; | |
$id = $_GET['id']; | |
mysqli_query($koneksi,"delete from tugas1 where id='$id'"); | |
header("location:index.php"); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<?php require_once 'contents/header.php'; ?> | |
</head> | |
<body> | |
<div class="container"> | |
<center><h1><b>CRUD SIMPLE</b></h1></center> | |
<br/><br/><br/><br/> | |
<h3><b>EDIT DATA</b></h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<?php require_once 'contents/header.php'; ?> | |
</head> | |
<body> | |
<div class="container"> | |
<center><h1><b>CRUD SIMPLE</b></h1></center> | |
<br/><br/><br/><br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<?php require_once 'contents/header.php'; ?> | |
</head> | |
<body> | |
<div class="container"> | |
<center><h1><b>CRUD </b>SIMPLE</h1></center> | |
<hr> | |
<br/><br/><br/><br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>CRUD Simple | TUGAS1</title> | |
<link rel="stylesheet" href="css/bootstrap.min.css"> | |
</head> |
NewerOlder