• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

problems on retracting data from mysql

Explorer ,
Jul 30, 2023 Jul 30, 2023

Copy link to clipboard

Copied

Screen Shot 2023-07-30 at 22.07.18.png

Screen Shot 2023-07-30 at 22.07.33.png

Screen Shot 2023-07-30 at 22.07.48.png

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

Views

168

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 30, 2023 Jul 30, 2023

Copy link to clipboard

Copied

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

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 03, 2023 Aug 03, 2023

Copy link to clipboard

Copied

Screen Shot 2023-08-03 at 20.35.47.png

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 30, 2023 Jul 30, 2023

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 03, 2023 Aug 03, 2023

Copy link to clipboard

Copied

Screen Shot 2023-08-03 at 20.38.01.png

please see the error log from the web hosting side

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 03, 2023 Aug 03, 2023

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines