To test some PHP code, follow these steps to create a simple HTML Web page with an embedded PHP function:
The <html> tag tells the Web browser that this is an HTML document and should be read as a Web page.
The <head> HTML tag contains elements that tell the Web browser about the document; this information is read by the browser but hidden from the Web page visitor.
The <title> HTML tag tells the browser to display the text between two tags as the title of the document in the browser title bar. (Note: All HTML tags need to be opened and then closed, just like PHP tags that we describe in the preceding section. In this case the <title> tag opens the command, and the </title> tag closes it and tells the Web browser that you're finished dealing with the title).
Anything that appears after this tag displays in the Web browser window.
See the preceding section on starting and stopping PHP functions.
This is the function that you want PHP to execute ...