[Tin tức] Bài 3:Danh mục sản phẩm | Website PHP HTML CSS MYSQli



Demo shopbanhang mysqli : Download Fullcode tại đây :
Nếu các bạn cảm thấy hay donate mình nhé,đa tạ:
💸 Momo: 0932023992 Website :
Series tạo website Laravel :
Series tạo website MVC PHP OOP mysqli :
Series web bán hàng điện máy PHP – HTML – CSS :
Web điện máy :
Download video thiết kế web php mysql A-Z :
~~~~~~~~~~~~~~~~~~
FANPAGE :
FACEBOOK :

30 bình luận về “[Tin tức] Bài 3:Danh mục sản phẩm | Website PHP HTML CSS MYSQli”

  1. Hi anh, trang sua.php giống hệt ở đoạn 55:40 liên kết được nhưng không hiện khung table chỉ hiện tiêu đề sửa sản phẩm, em có thử xóa while thì nó mới hiện table, e để while vào thì bảng table bị mất và không thấy báo lỗi gì ạ. Giúp em khăc phục với ạ.

    Trả lời
  2. Fatal error: Uncaught mysqli_sql_exception: Unknown column 'thutu' in 'order clause' in C:xampphtdocsweb_mysqliadmincpmodulesquanlydanhmucsplietke.php:3 Stack trace: #0 C:xampphtdocsweb_mysqliadmincpmodulesquanlydanhmucsplietke.php(3): mysqli_query(Object(mysqli), 'SELECT * from t…') #1 C:xampphtdocsweb_mysqliadmincpmodulesmain.php(11): include('C:\xampp\htdocs…') #2 C:xampphtdocsweb_mysqliadmincpindex.php(17): include('C:\xampp\htdocs…') #3 {main} thrown in C:xampphtdocsweb_mysqliadmincpmodulesquanlydanhmucsplietke.php on line 3

    Trả lời
  3. Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in C:xampphtdocsweb_mysqliadmincpmodulesquanlydanhmucsplietke.php:14 Stack trace: #0 C:xampphtdocsweb_mysqliadmincpmodulesquanlydanhmucsplietke.php(14): mysqli_fetch_array(false) #1 C:xampphtdocsweb_mysqliadmincpmodulesmain.php(11): include('C:\xampp\htdocs…') #2 C:xampphtdocsweb_mysqliadmincpindex.php(23): include('C:\xampp\htdocs…') #3 {main} thrown in C:xampphtdocsweb_mysqliadmincpmodulesquanlydanhmucsplietke.php on line 14

    Như này thì fix kiểu gì ạ

    Trả lời
  4. anh ơi sao em code đúng như này mà em ấn mysql ko thêm được sản phẩm và cái header kia nó không quay lại trang người dùng nhập ạ <?php
    include("../../config/config.php");
    $tenloaisp = $_POST['tendanhmuc'];
    $thutu = $_POST['thuthu'];
    if(isset($_POST["themdanhmuc"])){
    $sql_them = "INSERT INTO tbl_danhmuc(tendanhmuc,thutu) VALUE (' ".$tenloaisp." ', ' ".$thutu." ')";
    mysqli_query($mysqli,$sql_them);
    header("Location: ../../index.php?action=quanlydanhmucsanpham");
    }
    ?>

    Trả lời
  5. ai cứu giúp e với quay lại bài này N lần rồi vẫn lỗi : Warning: Undefined array key "query" in C:xampphtdocsdienthoaiadmincpmodulesmain.php on line 4 , thêm sửa với xóa xong vẫn được nhưng nó hiện ra dòng này fix mãi không đc bực ghê 😭😭

    Trả lời
  6. <?php

    include ("../../config/config.php");

    $tenloaisp = $_POST['tendanhmuc'];

    $thutu = $_POST['thutu'];

    if(isset($_POST['themdanhmuc'])){

    $sql_them = "INSERT INTO tbl_danhmuc(tendanhmuc,thutu) VALUE ('".$tenloaisp."','".$thutu."');

    mysqli_query ($mysqli,$sql_them)

    include

    }

    ?> Mình làm cứ báo lỗi ngay ?>. Giúp mình với

    Trả lời
  7. AD ƠI làm tới bước sửa cuối nhưng nó không tìm thấy tên này v ạ Notice: Undefined index: query in D:wamp64wwwZZZZadmincpmodulesmain.php on line 4

    Call Stack

    # Time Memory Function Location

    1 0.0001 362328 {main}( ) …index.php:0

    2 0.0227 410912 include( 'D:wamp64wwwZZZZadmincpmodulesmain.php ) …index.php:17

    Trả lời

Viết một bình luận

bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
antalya bayan escort
antalya bayan escort
antalya bayan escort