Belajar PHP Dasar | 11. Insert Data MySQL PHP

  Рет қаралды 1,421

Coders Indonesia

Coders Indonesia

Күн бұрын

Пікірлер: 19
@codersindonesia
@codersindonesia 10 ай бұрын
Untuk source code ada di repository yaa. ada di deskripsii
@prayogovidyaariobimosudiro238
@prayogovidyaariobimosudiro238 10 ай бұрын
Akhirnya ada tutor lagi dri coders 🥳
@codersindonesia
@codersindonesia 10 ай бұрын
Alhamdulillah, makasih @prayogovidyaariobimosudiro238 , sahabat coders dari awal berdiri. Terbaikss.
@yudistiraanaga
@yudistiraanaga 10 ай бұрын
Alpha build mage emang lagi meta kang 😁
@codersindonesia
@codersindonesia 10 ай бұрын
Waduh bener berarti nya? wwkwkwk
@hardicabahrusssidiq
@hardicabahrusssidiq 10 ай бұрын
ahirnya gw lihat suara di balik layar, GBU
@codersindonesia
@codersindonesia 10 ай бұрын
Biar aga terkenal hehe
@aipro2836
@aipro2836 10 ай бұрын
Pak nest nya tolong lanjutin 🙏
@codersindonesia
@codersindonesia 10 ай бұрын
Sedang berprogress hehe
@hardicabahrusssidiq
@hardicabahrusssidiq 10 ай бұрын
kak mau tanya dong, setelah saya ikuti untuk test connection, tapi gagal dan muncul pernyataan Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\latihanphp\insert.php:8 Stack trace: #0 C:\xampp\htdocs\latihanphp\insert.php(8): mysqli->__construct('localhost', 'root', Object(SensitiveParameterValue), 'latihanphp') #1 {main} thrown in C:\xampp\htdocs\latihanphp\insert.php on line 8 minta solusinya suhu, terimakasih hehe
@codersindonesia
@codersindonesia 10 ай бұрын
Itu biasanya settingan mysql nya harus diganti. Mysqlnya tidak mengizinkan menggunakan user bernama root. Coba buat user baru dengan host pake tanda % yg berarti from any host can be connected
@hardicabahrusssidiq
@hardicabahrusssidiq 10 ай бұрын
@@codersindonesia terimakasih bang, tapi selanjutnya saat eksekusi sql sting error bang, PHP Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''latihanphp'.'tabel_hero_mage'('nama_hero','tipe_hero','damage') VALUES ('Vex...' at line 1 in C:\xampp\htdocs\latihanphp\insert.php:21 Stack trace: #0 C:\xampp\htdocs\latihanphp\insert.php(21): mysqli->query('INSERT INTO 'la...') #1 {main} thrown in C:\xampp\htdocs\latihanphp\insert.php on line 21 Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''latihanphp'.'tabel_hero_mage'('nama_hero','tipe_hero','damage') VALUES ('Vex...' at line 1 in C:\xampp\htdocs\latihanphp\insert.php:21 Stack trace: #0 C:\xampp\htdocs\latihanphp\insert.php(21): mysqli->query('INSERT INTO 'la...') #1 {main} thrown in C:\xampp\htdocs\latihanphp\insert.php on line 21 kalau begini kenapa ya bang, semoga berkenan membalas hehe
@Kokigallery
@Kokigallery 10 ай бұрын
saya juga dapet respon yang sama setelah coba ambil scrip dari Repository GIT @codersindonesia
@Kokigallery
@Kokigallery 10 ай бұрын
@@hardicabahrusssidiq saya juga mengalami kendala yang sama, setelah di cek ada salah penggunaan tanda kutipnya di part ini 'latihanphp'.'tabel_hero_mage'('nama_hero','tipe_hero','damage') coba seperti ini `latihanphp`.`tabel_hero_mage`(`nama_hero`,`tipe_hero`,`damage`) tanda kutipnya menggunakan yang di samping kiri angka 1 jadi beda dengan kutip biasanya
@Kokigallery
@Kokigallery 10 ай бұрын
Kang terimakasih untuk vidio nya saya sudah ikutin tapi pas di runing error dengan respon berikut Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''latihanphp'.'tabel_hero_mage'('nama_hero','tipe_hero','damage') VALUES ...' at line 1 in C:\xampp\htdocs\latihanphp\insert.php:22 Stack trace: #0 C:\xampp\htdocs\latihanphp\insert.php(22): mysqli->query('INSERT INTO 'la...') #1 {main} thrown in C:\xampp\htdocs\latihanphp\insert.php on line 22
@Kokigallery
@Kokigallery 10 ай бұрын
terimakasih untuk vidionya saya sudah ikuti semua nya tapi pas di runing error dengan respon berikut Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''latihanphp'.'tabel_hero_mage'('nama_hero','tipe_hero','damage') VALUES ...' at line 1 in C:\xampp\htdocs\latihanphp\insert.php:22 Stack trace: #0 C:\xampp\htdocs\latihanphp\insert.php(22): mysqli->query('INSERT INTO 'la...') #1 {main} thrown in C:\xampp\htdocs\latihanphp\insert.php on line 22 saya menggunakan xampp dan heidi sql
@Kokigallery
@Kokigallery 10 ай бұрын
sudah bisa saya, terimakasih
@codersindonesia
@codersindonesia 10 ай бұрын
Semog membantu yaa kontennya
@Kokigallery
@Kokigallery 9 ай бұрын
@@codersindonesia sangat membantu, ka ada content membuat web dengan htm dengan database serta sql g ya ?
Belajar PHP Dasar | 12. Delete Data MySQL PHP
7:03
Coders Indonesia
Рет қаралды 733
Belajar Web Dengan PHP & Database Untuk Pemula Dari Nol
1:19:36
Dea Afrizal
Рет қаралды 197 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
The Correct Way to Run Database Migrations in EF Core
19:51
Nick Chapsas
Рет қаралды 28 М.
Belajar Basis Data untuk Pemula
2:54:46
Programmer Zaman Now
Рет қаралды 209 М.
FrankenPHP Penyambung Hidup PHP?
17:52
Orang IT
Рет қаралды 3,3 М.
Belajar PHP untuk PEMULA | 10. DATABASE & MySQL
47:45
Web Programming UNPAS
Рет қаралды 1,7 МЛН
Belajar Dasar Pemrograman Menggunakan Python Mulai Dari Nol
1:07:55
Dea Afrizal
Рет қаралды 902 М.
The New Outlook is TERRIBLE
20:19
Chris Titus Tech
Рет қаралды 108 М.
Belajar PHP untuk PEMULA | 11. PHP & MySQL
50:47
Web Programming UNPAS
Рет қаралды 669 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН