#php #php grammar Put PHP code in HTML document Put your PHP code in an HTML document. To do this, you have to tell it which parts are PHP code. There are several ways to specify the PHP code part, but usually [Method 1] is used. Method 1 Put your PHP code between . Method 2 Put your PHP code between the script tags. others You can also use the following form when setting on the server, i.e. in ..