If we are using Chrome (google), we want to access Sina's server.
Process:
1. We submit the html code to the server through the browser in post/get mode
2. Our server receives it request, and then respond accordingly. If we use php code here, the server will help us operate it, and will process the php code into html and return it to the browser, and the browser will parse and display it
3 , Browser: html Server: html = html php, process php into html, merge it with the submitted html into html and return it to the browser for analysis and display
Recommended tutorial: PHP video tutorial
The above is the detailed content of How to use php in web development. For more information, please follow other related articles on the PHP Chinese website!