How to generate a page with PHP?

for example, for a shopping website, after adding an item to the database through the background, how to generate a page of the product for users to visit?
I hope you can help ~ Thank you very much!

Mar.01,2021

then you have to write a HTML page template, then send the data to the page and render it with JQ. If the page is written in VUE or the like, you can add the data in the background and refresh it over there and there will be


on the page.

think carefully about where the data comes from and where it goes. You can understand this process in this way

1. Add data to the table through the background
2. The data in the table needs to be displayed on the page

so how do you display it on the page?

first of all, you need a html page, which is rendered in the form of:

1. mvc 
2.js 
3.php

  




Menu