Beispiel #1
0
<?php

include "functionweb.php";
$a = new functionWEB();
$a->register();
if (!$a) {
    echo "<script>alert('REGISTER GAGAL');\r\n\t\t\t</script>";
    echo "<script>window.location='index.php';\r\n\t\t\t</script>";
    exit;
} else {
    echo "<script>alert('REGISTER BERHASIL!');\r\n\t\t\t</script>";
    echo "<script>window.location='index.php';\r\n\t\t\t</script>";
    exit;
}
Beispiel #2
0
<?php

include "conn.php";
include "functionweb.php";
$f = new functionWEB();
$f->delete();
Beispiel #3
0
<?php

include "conn.php";
include "functionweb.php";
$a = new functionWEB();
$a->edit();
if ($a) {
    header('location:lihat.php');
} else {
    echo "Daftar Gagal Diupdate<br>\r\n<a href=lihat.php>Laporan Transaksi</a>";
}