# data[].attributes.body
Bab 1.1 Pengaturcaraan

https://forms.gle/yFf1ZtBzK7J5BPfFA

Bab 1.2 Algoritma

https://forms.gle/mv7dFoPiRnRDmV8F6

Bab 1.3 Pembolehubah, Pemalar dan Jenis Data

https://forms.gle/9ExhW9L6z9sNkLu38

Bab 1.4 Struktur Kawalan

https://forms.gle/U2bxgTB5VDzjZJcV9

Bab 2.4 Pembangunan Sistem Pangkalan Data

https://forms.gle/R419d5jiX3nLbxz3A

# data[].attributes.attachment_link.description
Access Google Forms with a personal Google account or Google Workspace account (for business use).

# data[].attributes.body
Bab 1.1 Pengaturcaraan

https://tinyurl.com/b32uxdbj

Bab 1.2 Algoritma

https://tinyurl.com/4unxzfrw

# data[].attributes.attachment_link.title
Flowchart Maker & Online Diagram Software

# data[].attributes.attachment_link.description
draw.io is free online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams

# data[].attributes.attachment_link.description
OnlineGDB is online IDE with python compiler. Quick and easy way to compile python program online. It supports python3.

# data[].attributes.attachment_link.provider_name
Smallpdf.com - A Free Solution to all your PDF Problems

# data[].attributes.attachment_link.title
Smallpdf.com - A Free Solution to all your PDF Problems

# data[].attributes.attachment_link.description
Smallpdf - the platform that makes it super easy to convert and edit all your PDF files. Solving all your PDF problems in one place - and yes, free.

# data[].attributes.attachment_link.title
Flowchart Maker & Online Diagram Software

# data[].attributes.attachment_link.description
draw.io is free online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams

# data[].attributes.body
MENU UTAMA (Klik link dibawah)

1. Installer XAMPP

2. Langkah-langkah nak install XAMPP

3. Installer Brackets

4. Langkah-langkah nak install Brackets

5. Semakan koding

6. Open folder......

7. Project Settings.....

8. Cara yang betul update

9. Hard reload

10. (a) Senarai fail

(b) Senarai imej

11. Peringatan jangan install XAMPP versi 8

12. Langkah-langkah untuk install Laragon

Siri video langkah-demi langkah

13. Langkah 1 & 2 : Membina database

14. Langkah 3 : Mencipta folder tempahan dan imej

15. Langkah 4 : Memasukkan kod aturcara

16. Mencipta Nama Kedai menggunakan cooltext.com

17. Panduan brackets 1

18. Panduan canva 1

19. Panduan canva 2

20. MySQL tak boleh start

21. Semak kod Aturcara

22. Dua cara untuk tukar warna

23. Akses aplikasi web komputer kawan

Jika ada install antivirus...perlu offkan firewall dari antivirus tersebut

PANDUAN BERGAMBAR TAMBAHAN

24. Live preview pada brackets

25. PHP runtime error

26. Taskbar

27. Jangan install xampp versi 8.0

PANDUAN CSS

28. amenu : border-radius

29. amenu.css : border

30. amenu.css : nav - navigation bar

KESALAHAN KOD ATURCARA SISTEM

31. fail laporan_pilihan.php mukasurat 76

32. relationship mukasurat 38

# data[].attributes.attachment_link.description
Aksara Perkataan Baris Baris tanpa indent

# data[].attributes.headline
Langkah 13 : Langkah 1 Dan 2 : Membina database

# data[].attributes.subject
Langkah 13 : Langkah 1 Dan 2 : Membina database

# data[].attributes.attachment_link.title
LANGKAH 1 & 2 : MEMBINA DATABASE TEMPAHAN

# data[].attributes.headline
Langkah 14 : Langkah 3 Membina folder tempahan dan imej

# data[].attributes.subject
Langkah 14 : Langkah 3 Membina folder tempahan dan imej

# data[].attributes.attachment_link.title
LANGKAH 3 : MENCIPTA FOLDER TEMPAHAN DAN IMEJ

# data[].attributes.headline
Langkah 15 :Langkah 4 Memasukkan kod aturcara

# data[].attributes.subject
Langkah 15 :Langkah 4 Memasukkan kod aturcara

# data[].attributes.headline
Langkah 23 : Akses aplikasi web komputer kawan

# data[].attributes.subject
Langkah 23 : Akses aplikasi web komputer kawan

# data[].attributes.headline
LAngkah 27 : Peringatan jangan install XAMPP versi 8

# data[].attributes.subject
LAngkah 27 : Peringatan jangan install XAMPP versi 8

# data[].attributes.attachment_link.readable_text
Yes, contribute image

Choose if you want us to use this image for quality improvements.

No, don't contribute

Choose if you do NOT want us to use this image for quality improvements.

Your image will be used for future improvements of remove.bg.

Your image will NOT be used for future improvements of remove.bg.

# data[].attributes.attachment_link.description
Select an image & remove the background - 100% automatically - in 5 seconds - without a single click - for free.

# data[].attributes.attachment_link.title
Skema Jawapan Modul Ticket to Victory.pdf

# data[].attributes.headline
Langkah 30 : amenu.css nav - navigator bar

# data[].attributes.subject
Langkah 30 : amenu.css nav - navigator bar

# data[].attributes.attachment_link.readable_text
session_start();
session_destroy();
echo " ";
?>

# data[].attributes.attachment_link.readable_text
include("sambungan.php");
include("jurujual_menu.php");

$idjurujual = $_GET["idjurujual"];

$sql = "delete from jurujual where idjurujual = '$idjurujual' ";
$result = mysqli_query($sambungan, $sql);

echo " ";
?>

# data[].attributes.attachment_link.readable_text
include("sambungan.php");

$idmakanan = $_GET["idmakanan"];

$sql = "delete from makanan where idmakanan = '$idmakanan' ";
$result = mysqli_query($sambungan, $sql);

echo " ";
?>

# data[].attributes.attachment_link.readable_text
PILIH JENIS LAPORAN

Tempahan Mengikut Tarikh

Tempahan Mengikut Pelanggan

$pelanggan[namapelanggan]
"; } ?>
$tempahan[tarikh]
"; } ?>
Papar

# data[].attributes.attachment_link.readable_text
include("sambungan.php");

$idpelanggan = $_POST["idpelanggan"];
$idmakanan = $_POST["idmakanan"];
$bilangan = $_POST["bilangan"];

date_default_timezone_set("Asia/Kuala_Lumpur");
$today = date('Y-m-d');

$sql = "insert into tempahan values('$idpelanggan', '$idmakanan', '$today', $bilangan)";
$result = mysqli_query($sambungan, $sql);
if ($result == true)
echo " ";
else
echo " ";

echo " ";
?>

# data[].attributes.attachment_link.readable_text
include("sambungan.php");

$idmakanan = $_GET["idmakanan"];
$idpelanggan = $_GET["idpelanggan"];
$tarikh = $_GET["tarikh"];

$sql = "delete from tempahan where idmakanan = '$idmakanan' and idpelanggan = '$idpelanggan' and tarikh = '$tarikh' ";
$result = mysqli_query($sambungan, $sql);

echo " ";
?>

# data[].attributes.attachment_link.readable_text
SENARAI MAKANAN

ID | Nama | Gambar | Harga | Tindakan

$makanan[idmakanan]

$makanan[namamakanan]

RM $makanan[harga]

"; } ?>

# data[].attributes.attachment_link.readable_text
include("sambungan.php");

$idmakanan = $_GET["idmakanan"];
$idpelanggan = $_GET["idpelanggan"];
$tarikh = $_GET["tarikh"];
$bilangan = $_GET["bilangan"];;

$sql = "update tempahan set bilangan = $bilangan
where idmakanan = '$idmakanan' and idpelanggan = '$idpelanggan' and tarikh = '$tarikh' ";
$result = mysqli_query($sambungan, $sql);

echo " ";
?>

# data[].attributes.attachment_link.readable_text
JURUJUAL

Tambah

Senarai

PELANGGAN

Tambah

Senarai

Carian

MAKANAN

Tambah

Senarai

LAPORAN

IMPORT

LOGOUT

# data[].attributes.attachment_link.readable_text
CARIAN PELANGGAN

Pelanggan

$pelanggan[namapelanggan]
"; } ?>

Cari

# data[].attributes.attachment_link.readable_text
include("sambungan.php");
include("jurujual_menu.php");

$idjurujual = $_GET["idjurujual"];

$sql = "delete from jurujual where idjurujual = '$idjurujual' ";
$result = mysqli_query($sambungan, $sql);

echo " ";
?>

# data[].attributes.attachment_link.readable_text
ID | Nama | Bilangan | Harga | Jumlah
"; $bayaran = 0; $sql = "select * from tempahan join makanan on tempahan.idmakanan = makanan.idmakanan where tempahan.idpelanggan = '$idpelanggan' and tempahan.tarikh = '$tarikh' "; $result = mysqli_query($sambungan, $sql); while($tempahan = mysqli_fetch_array($result)) { $jumlah = $tempahan['bilangan'] * $tempahan['harga']; $jumlah_format = number_format($jumlah, 2); echo "
$tempahan[idmakanan] | $tempahan[namamakanan] | $tempahan[bilangan] | RM $tempahan[harga] | RM $jumlah_format
"; $bayaran = $bayaran + $jumlah; } $bayaran_format = number_format($bayaran, 2); echo "

Jumlah Bayaran

RM $bayaran_format

"; echo "

Nama : $namapelanggan Tarikh : $tarikh

"; } if ($pilih == 2) { echo "

Tarikh | ID | Makanan | Bilangan
"; $sql = "select * from tempahan join makanan on tempahan.idmakanan = makanan.idmakanan where tempahan.idpelanggan = '$idpelanggan' order by tarikh asc"; $result = mysqli_query($sambungan, $sql); while($tempahan = mysqli_fetch_array($result)) { echo "
$tempahan[tarikh] | $tempahan[idmakanan] | $tempahan[namamakanan] | $tempahan[bilangan]
"; } echo "
SENARAI TEMPAHAN

Nama : $namapelanggan

"; } } ?>

Cetak

# data[].attributes.attachment_link.readable_text
SENARAI NAMA PELANGGAN

ID | Nama | Password | Tindakan

$pelanggan[idpelanggan]

$pelanggan[namapelanggan]

$pelanggan[password]

"; } ?>

# data[].attributes.attachment_link.readable_text
alert('kesalahan pada username atau password'); "; } ?>
LOG IN

|
|

Login Sign Up

Belum ada idpengguna klik SignUp

# data[].attributes.attachment_link.readable_text
6. signup.php

<?php

include("sambungan.php");

include("pelanggan_menu.php");

if(isset($_POST["submit"])) {

$idpelanggan = $_POST["idpelanggan"];

$password = $_POST["password"];

$namapelanggan = $_POST["namapelanggan"];

SIGN UP

ID Pelanggan

P007

Nama Pelanggan

P006

Password

Daftar

Ratal

}

?>

$sql = "insert into pelanggan values('$idpelanggan', '$password', '$namapelanggan')";

echo $sql;

$result = mysqli_query($sambungan, $sql); if ($result)

echo "<script>alert('Berjaya signup')</script>";

else

Secho "<script>alert('Tidak berjaya signup')</script>"; echo "<script>window.location='index.php'</script>";

<link rel="stylesheet" href="aborang.css">

<link rel="stylesheet" href="abutton.css">

<body>

<h3 class="panjang">SIGN UP</h3>

<form class="panjang" action="signup.php" method="post">

<table>

<tr>

<td>ID Pelanggan</td>

<td><input required type="text" name="idpelanggan"

placeholder="cth: P065" pattern="[A-Z0-9]{4}"

kegunaan

signup.php membolehkan peng untuk membuat pendaftaran seten mempunyai userid dan password.

oninvalid="this.setCustomValidity('Sila masukkan 4 aksara')"

oninput="this.setCustomValidity(")"

<?php

$sql = "SELECT FROM pelanggan ORDER BY idpelanggan DESC LIMIT 1";

$result = mysqli_query($sambungan, $sql);

$bilrekod mysqli_num_rows($result);

if ($bilrekod > 0) {

}

else

$pelanggan mysqli_fetch_array($result);

$idpelanggan = ++$pelanggan ["idpelanggan"];

$idpelanggan "P001";

echo "value = '$idpelanggan";

?>

</td>

</tr>

<tr>

<td>Nama Pelanggan</td>

<td><input required type="text" name="namapelanggan"></td>

</tr>

<tr>

<td>Password</td>

<td><input required type="password" name="password"></td>

</tr>

</table>

<button class="tambah" type="submit" name="submit">Daftar</button>

<button class="batal" type="button" onclick="window.location='index.php">Batal</button>

</form>

</body>

# data[].attributes.attachment_link.readable_text
29. pelanggan_insert.php

<?php

?>

include("sambungan.php");

include("jurujual_menu.php");

if (isset($_POST["submit"])) {

HTML, CSS, PHP, SQL Programming oleh Ismail bin Shaarl

CIPTA SEMUA FAIL MENGENAI PELANGGAN

$idpelanggan $_POST["idpelanggan"];

$password = $_POST["password"];

$namapelanggan = $_POST["namapelanggan");

pelanggan_insert.php

pelanggan_update.php

pelanggan delete.php

pelanggan senarai.php

pelanggan_carian.php

pelanggan_maklumat.php

pelanggan menu.php

$sql = "insert into pelanggan values('$idpelanggan', 'Spassword', '$namapelanggan')";

$result = mysqli_query($sambungan, $sql);

if ($result == true)

else

}

echo "<h4>Berjaya tambah</h4>";

echo "<h4>Ralat: $sql<br>".mysqli_error($sambungan)."</h4>";

<link rel="stylesheet" href="aborang.css">

<link rel="stylesheet" href="abutton.css">

<main>

<h3 class="panjang">BORANG TAMBAH PELANGGAN</h3>

kegunaan

pelanggan_insert.php memaparkan borang supaya jurujual boleh menambah pelanggan yang lain.

<form class="panjang" action="pelanggan_insert.php" method="post">

<table>

<tr>

<td class="warna">ID Pelanggan</td>

<td><input required type="text"

name="idpelanggan" placeholder="cth: P065"

pattern="[A-Z0-9]{4}"

oninvalid="this.setCustomValidity('Sila masukkan 4 aksara')"

oninput="this.setCustomValidity(")"

<?php

$sql = "SELECT FROM pelanggan ORDER BY idpelanggan DESC LIMIT 1";

$result = mysqli_query($sambungan, $sql);

$bilrekod = mysqli_num_rows($result);

if ($bilrekod > 0) {

}

else

$pelanggan = mysqli_fetch_array($result);

$idpelanggan ++$pelanggan["idpelanggan"];

$idpelanggan "P001";

echo "value = '$idpelanggan";

?>

>

</td>

</tr>

<tr>

<td class="warna">Nama Pelanggan</td>

<td><input type="text" name="namapelanggan" placeholder="cth: Hajar"> </td>

</tr>

<tr>

<td class="warna">Password</td>

<td><input type="text" name="password" placeholder="cth: 123"></td>

</tr>

</table>

<button class="tambah" type="submit" name="submit">Tambah</button>

</form>

<br>

<center>

HTML, CSS, PHP, SQL. Programming oleh Ism

<button class="biru" onclick="tukar_warna(0)">Biru</button>

<button class="hijau" onclick="tukar_warna(1)">Hijau</button>

<button class="merah" onclick="tukar_warna(2)">Merah</button>

<button class="hitam" onclick="tukar_warna(3)">Hitam</button>

</center>

<script>

function tukar_warna(n) {

var warna = ["Blue", "Green", "Red", "Black"];

var teks = document.getElementsByClassName("warna");

for(var i=0; i<teks.length; i++)

teks[i].style.color=warna[n];

}

</script>

</main>

# data[].attributes.attachment_link.readable_text
23. tempahan_senarai.php

<?php

include("keselamatan.php");

?>

include("sambungan.php");

include("pelanggan_menu.php");

$idpelanggan = $_SESSION["idpengguna"];

$sql="select from pelanggan where idpelanggan = '$idpelanggan";

$result = mysqli_query($sambungan, $sql);

$pelanggan = mysqli_fetch_array($result);

$namapelanggan = $pelanggan['namapelanggan'];

date_default_timezone_set("Asia/Kuala_Lumpur");

$today date('Y-m-d');

<link rel="stylesheet" href="asenarai.css">

<link rel="stylesheet" href="abutton.css">

<table>

<>

<th>ID</th>

<th>Nama</th>

<th colspan="2">Bilangan</th>

<th>Harga</th>

<th>Jumlah</th>

<th>Tempahan</th>

</tr>

<?php

}

$bayaran = 0;

$sql = "select from tempahan

kegunaan

pelanggan_senarai.php memaparkan semua senarai tempahan. Senarai tempahan terdapat padanya butang update dan delete.

join makanan on tempahan.idmakanan makanan.idmakanan

join pelanggan on tempahan.idpelanggan

pelanggan.idpelanggan

where tempahan.idpelanggan = '$idpelanggan' and tarikh = '$today" ";

$result = mysqli_query($sambungan, $sql);

while($makanan = mysqli_fetch_array($result)) {

$idmakanan = $makanan['idmakanan'];

$bilangan = $makanan['bilangan'];

$jumlah = $makanan['bilangan'] $makanan ['harga'];

$jumlah_format = number_format($jumlah, 2); echo "<tr> <td>$makanan[idmakanan]</td>

<td>$makanan[namamakanan]</td>

<td>$makanan[bilangan]</td>

<td>

<a href="javascript:kemaskini(\"$idmakanan\",\"$idpelanggan\",\"$today\");'> <img src="imej/update.png'>

</a>

</td>

<td>RM $makanan[harga]</td>

<td>RM $jumlah_format</td>

<td>

<a href='tempahan_delete.php?idmakanan = $idmakanan&&idpelanggan=$idpelanggan &&tarikh=$today'>

<img src='imej/delete.png'>

</a>

</td>

</tr>";

$bayaran = $bayaran + $jumlah;

$bayaran_format = number_format($bayaran, 2);

$tarikh date_format(date_create($today), 'd-m-Y');

echo "<td colspan = '5'>Jumlah Bayaran</td><td>RM $bayaran_format</td></tr>";

echo "<caption>SENARAI TEMPAHAN<br><br>

Nama: $namapelanggan Tarikh: $tarikh</caption>";

?>

</table>

Muka 72

<script>

function kemaskini(idm, idp, t) {

var bil prompt("Masukkan bilangan"); window.location = "tempahan_update.php?idmakanan=" + idm + "&&idpelanggan=" + idp + "&&tarikh=" + t + "&&bilangan=" + bil; }

</script>


# data[].attributes.attachment_link.readable_text
ID | Nama | Bilangan | Harga | Jumlah | Tempahan

$makanan[idmakanan]

$makanan[namamakanan]

$makanan[bilangan]

RM $makanan[harga]

RM $jumlah_format

"; $bayaran = $bayaran + $jumlah; } $bayaran_format = number_format($bayaran, 2); $tarikh = date_format(date_create($today), 'd-m-Y'); echo "
Jumlah Bayaran

RM $bayaran_format

"; echo "
SENARAI TEMPAHAN

Nama : $namapelanggan Tarikh : $tarikh
"; ?>

# data[].attributes.attachment_link.readable_text
Berjaya tambah
"; else echo "
Ralat : $sql
".mysqli_error($sambungan)."
"; } ?>

BORANG TAMBAH PELANGGAN

ID Pelanggan | 0) { $pelanggan = mysqli_fetch_array($result); $idpelanggan = ++$pelanggan["idpelanggan"] } else $idpelanggan = "P001"; echo "value = '$idpelanggan'"; ?> >
Nama Pelanggan |
Password |

Tambah

Biru Hijau Merah Hitam

# data[].attributes.attachment_link.readable_text
alert('Berjaya signup') "; else echo " "; echo " "; } ?>
SIGN UP

ID Pelanggan | 0) { $pelanggan = mysqli_fetch_array($result); $idpelanggan = ++$pelanggan["idpelanggan"]; } else $idpelanggan = "P001"; echo "value = '$idpelanggan'"; ?> >
Nama Pelanggan |
Password |

Daftar Batal

# data[].attributes.attachment_link.readable_text
table {
   font-family: verdana;
   font-size: 12px;
   font-weight: normal;
   text-align: center;

   margin: 0px auto;
   margin-bottom: 0px;
   border-collapse: collapse;
   clear:left;

}

table.maklumat {
  width: 400px; 

}

caption { 
  font-size: 16px;
  font-weight: bold;
  color: darkgreen;
  padding: 8px;
  margin-top: 5px;

}

td, th {
   padding: 8px;
   border: 2px solid black;

}

td.nama {
   width: 150px;
   text-align: left;

}

tr:nth-child(odd) {
   background-color: pink;

}

tr:nth-child(even) {
   background-color: mistyrose;

}

 th {
    font-weight: bold;
    color: white;
    background-color: palevioletred;

}


# data[].attributes.attachment_link.readable_text
MENU

TEMPAHAN"; else echo "TEMPAHAN"; ?>

LOGOUT"; else echo "LOGIN"; ?>

# data[].attributes.attachment_link.readable_text
Berjaya kemaskini
"; else echo "
Ralat : $sql
".mysqli_error($sambungan)."
"; } if (isset($_GET["idpelanggan"])) $idpelanggan = $_GET["idpelanggan"]; $sql = "select * from pelanggan where idpelanggan = '$idpelanggan' "; $result = mysqli_query($sambungan, $sql); while($pelanggan = mysqli_fetch_array($result)) { $namapelanggan = $pelanggan["namapelanggan"]; $password = $pelanggan["password"]; } ?>
KEMASKINI PELANGGAN

ID Pelanggan |
Nama Pelanggan |
Password |

Update

# data[].attributes.attachment_link.readable_text
include("sambungan.php");

$idpelanggan = $_GET["idpelanggan"];

$sql = "delete from pelanggan where idpelanggan = '$idpelanggan' ";
$result = mysqli_query($sambungan, $sql);

echo " ";
?>

# data[].attributes.attachment_link.readable_text
MAKLUMAT PELANGGAN

Perkara | Maklumat
ID pelanggan |
Nama |
Password |

# data[].attributes.attachment_link.readable_text
body {
    background-image: url(imej/background.png);
    background-size: cover;
    background-attachment: fixed;
    margin: 0px;

}

h3 {
   font-family: verdana;
   font-size: 14px;
   font-weight: bold;
   text=align: center;
   color: white;

   padding: 10px 22px;
   border-radius: 20px 20px 0px 0px;
   margin: 30px auto 0px;
   background-color: #ffd3e2;
   box-shadow: 15pxc 15px 6px 0px rgba(96,96,96,0.7);
}

form {
   text-align: center:

   padding: 20px;
   border: 2px solid mediumorchid;
   margin: 0px auto;
   background-color: #ffd3e2;
   box-shadow: 15px 15px 6px 0px rgba(57,43,43,0,67);
}

h4 {
  font-family: veerdana;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  color: black;
  width: 380px;

  padding: 20px;
  border-radius: 10px;
  border:2px solid black;
  margin: 20px auto 0px;
  background-color: #ffd3e2;
  box-shadow: 15px 15px 6px 0px rgba(96, 96, 96, 0.7);
}

form.pendek, h3.pendek {
   width: 270px;
}

form.panjang, h3.panjang {
   width:380px;
}

input[type="text"],
input[type="password"],
input[type="file"],
select{
   width:230px;
   padding: 7px 15px;
   margin: 5px;
   border-radius: 20px;
}

::placeholder {
   color: silver;
}
 
input{type="file"} {
    padding: 3px;
}

td:nth-child(1) {
  font-family:verdana;
  font-size: 14px;
  color: black;
  text-align: left;

  width: 200px;
}

# data[].attributes.attachment_link.readable_text
Berjaya tambah
"; else echo "
Ralat : $sql
".mysqli_error($sambungan)."
"; } ?>
BORANG TAMBAH JURUJUAL

ID Jurujual |
Nama Jurujual |
Password |

Tambah

# data[].attributes.attachment_link.readable_text
Berjaya tambah
"; else echo "
Ralat : $sql
".mysqli_error($sambungan)."
"; } ?>
BORANG TAMBAH MAKANAN

ID Makanan |
Nama Makanan |
Gambar 350x320 |
Harga |

jurujual

$jurujual[namajurujual]
"; } ?>

Tambah

# data[].attributes.attachment_link.readable_text
button {
   font-family: verdana;
   font-weight: bold;
   font-size: 11px;
   text-align: center;
   color: darkolivegreen;

   width: 100px;
   padding : 7px 8px 7px 32px;
   border: 1px solid darkolivegreen;
   border-radius: 7px;
   margin-top: 10px;
   background-position: 8px;
   background-repeat: no-repeat;
}

button.login {
  background-image: url(imej/signin.png);
}

button.signup {
  background-image: url(imej/signup.png);
}

button.batal {
  background-image: url(imej/delete.png);
}

button.import {
  background-image: url(imej/import.png);
}

button.tambah {
  background.image: url(imej/add.png);
}

button.update {
  background-image: url(imej/update.png);
}

button.merah { 
  background-image: url(imej/red.png);
}

button.biru {
  background-image: url(imej/blue.png);
}

button.hijau {
  background-image: url(imej/green.png);
}

button.hitam {
  background-image: url(imej/black.png);
}
button.cetak {
  background-image: url(imej/printer.png);
}
button.papar {
  background-image: url(imej/monitor.png);
}
button.cari {
  background-image: url(imej/search.png);
}
button.tempah {
  background-image: url(imej/add.png);
  margin-left: 20px;
}

# data[].attributes.attachment_link.readable_text
Ralat: $sql
".mysqli_error($sambungan)."
"; } if (strtolower($namajadual) === "jurujual") { $idjurujual = $medan[0]; $password = $medan[1]; $namajurujual = $medan[2]; $sql = "insert into jurujual values('$idjurujual', '$password', '$namajurujual')"; if (mysqli_query($sambungan, $sql)) $berjaya = true; else echo "

Ralat: $sql
".mysqli_error($sambungan)."
"; } } if ($berjaya == true) echo " "; else echo " "; mysqli_close($sambungan); } ?>
IMPORT DATA

Jadual

Pelanggan

Jurujual

Nama fail |

Import

# data[].attributes.attachment_link.readable_text
Berjaya kemaskini
"; else echo "
Ralat : $sql
".mysqli_error($sambungan)."
"; } if (isset($_GET["idmakanan"])) $idmakanan = $_GET["idmakanan"]; $sql = "select * from makanan where idmakanan = '$idmakanan' "; $result = mysqli_query($sambungan, $sql); while($makanan = mysqli_fetch_array($result)) { $namamakanan = $makanan["namamakanan"]; $namafail = $idmakanan.".png"; $harga = $makanan["harga"]; } ?>
KEMASKINI makanan

ID makanan |
Nama makanan |
Gambar 350x320 | ";?>
Harga |

Update

# data[].attributes.attachment_link.readable_text
body {
  background-image: url(imej/background.png);
  background-size: cover;
  background-attachment: fixed;
  margin: 0px;
}

img.logo {
  width: 90px;
  margin-right: 20px;
}

header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav {
  top: 140px;
  width: 100%;
  height: 45px;
  padding: 0px;

  border: 3px dashed palevioletred;

  display: flex;
  align-items: center;
  justify-content: center;
}

main.menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

figure {
  margin: 20px 0px 0px 0px;
}

figcaption {
  font-family: verdana;
  font-size: 13px;
  padding: 1px;
  text-align: center;
  background-color: white;
}

img.home {
  border: 2px solid red;
  width: 300px;
}

ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
  text-align: center;
}

ul li {
  display: block;
  float: left;
}

 li ul {
  display: none;
}

ul li a {
  font-family: verdana;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  color: white;
  text-decoration: none;

  width: 110px;
  padding: 8px 10px;
  border: 3px dashed black;
  border-radius: 5px 15px;
  background-color: palevioletred;
  margin: 4px 15px 4px 0px;
  display: block;
}

ul li a:hover {
  color: black;
  background-color: silver;
}

li:hover ul{
  display: block;
  position: absolute;
}

li:hover li {
  float: none;
}


# data[].attributes.attachment_link.readable_text
Berjaya kemaskini
"; else echo "
Ralat : $sql
".mysqli_error($sambungan)."
"; } if (isset($_GET['idjurujual'])) $idjurujual = $_GET['idjurujual']; $sql = "select * from jurujual where idjurujual = '$idjurujual' "; $result = mysqli_query($sambungan, $sql); while($jurujual = mysqli_fetch_array($result)) { $password = $jurujual['password']; $namajurujual = $jurujual['namajurujual']; } ?>
KEMASKINI JURUJUAL

ID Jurujual |
Nama Jurujual |
Password |

Update

# data[].attributes.attachment_link.readable_text
SENARAI NAMA JURUJUAL

ID | Nama | Password | Tindakan

$jurujual[idjurujual]

$jurujual[namajurujual]

$jurujual[password]

"; } ?>

# data[].attributes.attachment_link.readable_text
<?php
    $nama_database = "tempahan";
    $sambungan = mysqli_connect("localhost","root","",$nama_database);
    if(!$sambungan ) {
        die("sambungan gagal");
    }
?>


















