The PHP site's online tutorials are already great. This part of the article will make you familiar with PHP. It's impossible for me to miss anything. My purpose is only to allow you to quickly start your PHP programming.
3.1 First conditions
You must first have a working web server that supports PHP. I assume that all PHP files on your server have the extension .php3.
3.2 PHP installation
For the installation and configuration of PHP, you can check out the special article "Complete PHP Installation Guide" on the Taoba website.
3.3 Grammar
From a syntactic point of view, PHP language is similar to C language. It can be said that PHP draws on the grammatical features of C language and is improved from C language. We can mix PHP code and HTML code. Not only can we embed PHP scripts into HTML files, we can even embed HTML tags in PHP scripts. Here are a few approaches you can take. You can choose whichever one works best for you and stick with it!