Skip to main content
Known Participant
Jul 30, 2023 1:08 PM UTC
Question

problems on retracting data from mysql

 

 

May i know what part is wrong? since the data from "Menu" cannot retracted from the database

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Legend
    Jul 30, 2023 8:31 PM UTC

    I can see nothing wrong with your sqli query or php code. As long as you have assigned the database connection function to the variable $connect then you should be getting some results returned.

    Translate
    Known Participant
    Aug 3, 2023 11:38 AM UTC

    please see the error log from the web hosting side

    Translate
    Legend
    Aug 3, 2023 5:27 PM UTC

    I can't even see menu_type or menu_category in your header.php file code, assuming that is what you originally posted?

    Translate
    Nancy OShea
    Community Expert
    Community Expert
    Jul 30, 2023 7:11 PM UTC

    How are you extracting data from the MySQL table fields?  Please show us your SQL query.

     

     

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Known Participant
    Aug 3, 2023 11:36 AM UTC

    this is how i connect to my sql datatbase
    but no "connection error" show and i assume no error on connecting my database

    Translate