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 | |
/** | |
* class controller mahasiswa | |
*/ | |
class Mahasiswa extends CI_Controller | |
{ | |
function __construct() | |
{ | |
parent::__construct(); | |
$this->load->helper('url'); |
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
[{ | |
"COMPANY_ID": "FRKB", | |
"PART_NAME": "RENDANG", | |
"PART_ID": "POS-1001", | |
"POS_PRICE_UNIT": 90000.0000, | |
"PIC_URL": "http://web-04.core-erp.com:6086/product/Rendang.png", | |
"SITE_ID": "JKT", | |
"PRODUCT_CATEGORY": "FOOD" | |
}, { | |
"COMPANY_ID": "FRKB", |
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
{ | |
"foods": [{ | |
"title": "Nasi Goreng", | |
"icon": "https://image.freepik.com/free-photo/spicy-fried-rice-with-fried-egg-vegetable_1339-77200.jpg" | |
}, | |
{ | |
"title": "Ayam Goreng", | |
"icon": "https://image.freepik.com/free-photo/spicy-fried-rice-with-fried-egg-vegetable_1339-77200.jpg" | |
}, | |
{ |
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 lang="en"> | |
<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"> | |
<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css"> | |
<script src="../bootstrap/js/bootstrap.min.js"></script> | |
<title>Form Mahasiswa</title> | |
</head> |
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 | |
$mysqli = new mysqli('localhost','root','root','poltekom_web'); | |
$id = $_GET['id']; | |
$stmt = $mysqli->prepare("DELETE FROM biodata WHERE id=?"); | |
echo $mysqli->error; | |
$stmt->bind_param("i",$id); | |
if ($stmt->execute()) { | |
echo "Data berhasil dihapus"; |
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
package com.vokasi.firebaseb; | |
import androidx.annotation.NonNull; | |
import androidx.appcompat.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.AdapterView; | |
import android.widget.ArrayAdapter; | |
import android.widget.EditText; |
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
package com.vokasi.firebaseb; | |
import androidx.annotation.NonNull; | |
import androidx.appcompat.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.ArrayAdapter; | |
import android.widget.EditText; | |
import android.widget.ListView; |
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
package com.vokasi.firebaseauthexample; | |
import androidx.appcompat.app.AppCompatActivity; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.TextView; |
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
package com.vokasi.firebase_a; | |
import androidx.appcompat.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.EditText; | |
import android.widget.Toast; | |
import com.google.firebase.database.DataSnapshot; |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>AJAX - 1</title> | |
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"> | |
<script src="jquery-3.4.1.min.js"></script> | |
<script src="bootstrap/js/bootstrap.min.js"></script> | |
</head> | |
<body> |
NewerOlder