Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3. Menjalankan query #98

Closed
Tracked by #67
wildanie12 opened this issue Oct 28, 2021 · 0 comments · Fixed by #103
Closed
Tracked by #67

3. Menjalankan query #98

wildanie12 opened this issue Oct 28, 2021 · 0 comments · Fixed by #103
Assignees

Comments

@wildanie12
Copy link
Member

wildanie12 commented Oct 28, 2021

Sub materi dari materi utama "Materi Basic: Database dasar prosedural" yang tertulis di Issue #67
Rekomendasi poin-poin yang dapat dijadikan bahan

  • mysqli_query() dan nilai kembaliannya
  • mysqli_affected_rows()
  • Contoh CRUD
    • INSERT
    • UPDATE
    • DELETE

Keterangan: perintah SELECT tidak perlu dituliskan di sini melainkan bisa dituliskan pada sub-materi selanjutnya saja (4. mengambil data)

rekomendasi nama file :

  • basics/13_database_dasar_prosedural/3_query_insert.php
  • basics/13_database_dasar_prosedural/3_query_update.php
  • basics/13_database_dasar_prosedural/3_query_delete.php

saran tabel yang digunakan dan strukturnya
nama tabel: 13_database_dasar_prosedural_buku

  • id INT AUTO_INCREMENT
  • judul VARCHAR(255)
  • deskripsi TEXT
  • penulis VARCHAR(255)
  • penerbit VARCHAR(255)

untuk koneksi dapat memanggil dari file demo sub-materi sebelumnya yaitu 2_connect.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant