Why does PHP unable to fetch table data from my databases | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why does PHP unable to fetch table data from my databases

I have a website and I am trying to fetch table data from my database to HTML. There is one problem, though. It doesn’t display. I try to get code from others and put it to my PHP files, but it still doesn’t work. Please help. Server information: My server is MariaDB and I use the mysqli connection. it is able to connect

27th Mar 2019, 7:13 PM
Mark
Mark - avatar
2 Answers
+ 4
://problem can be anything please can you attach your source code so community can help you. /Make sure table, database name are same
27th Mar 2019, 7:16 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Yes, it works, I can connect, and I have the the credentials
27th Mar 2019, 7:17 PM
Mark
Mark - avatar