What should I do if I want to dynamically generate data from the database to the webpage. Php beginners. Is php code used to connect to the database and the displayed code written on a page. Every time you use tag a to connect to the same php file, the php code queries data in the database and returns the data to the current page... what should I do if I want to dynamically generate data from the database to the webpage. Php beginners.
Is php code used to connect to the database and the displayed code written on a page. Every time you connect to the same php file with tag a, the php code queries data in the database and returns the data to the current page to display the content.
Reply content:
What should I do if I want to dynamically generate data from the database to the webpage. Php beginners.
Is php code used to connect to the database and the displayed code written on a page. Every time you connect to the same php file with tag a, the php code queries data in the database and returns the data to the current page to display the content.
If you are a beginner, we recommend that you first familiarize yourself with the most basic syntax and common functions, find a framework for a small project, and then learn its structure through this framework!
At the beginning of school, I basically made a demo on a page. I learned the basics and learned about the MVC mode. I learned more and more slowly!
You can either write one or two, connect to the database in the file, execute the query, and obtain the result print.