Which tools should be used to submit the form to the database on the web page, and then update the contents of the home page?

I will write a website, after submitting the form on the website, store the relevant information about the form in the back-end database, and then reorganize the home page of the website. Read the content from the database to change the content of the home page (for example: add a card, the content is read from the database), what tools should be used in this process? As far as I know, I need to learn php+MySQL, first, so what tools should be used to automatically add those contents in the front-end web page? Can the same be done by PHP?

Apr.19,2021

php can also be implemented directly, but if you use the front-end method, you can use ajax to request data. The specific process:
1. Ajax submits data to the server when submitting the form;
2. Each time the website is opened, the data is requested from the server, and then the data is inserted into the web page by string concatenation.

if you need to submit the form and display the new "card", just concatenate and insert the string in the ajax callback.


suggest you learn the basics of programming

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-1b30b2a-2bd42.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-1b30b2a-2bd42.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?