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

  




MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf5236-535ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf5236-535ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?