.PHP File Extension Web page that may contain PHP code; may include PHP functions that can process online forms, get the date and time, or access information from a database, such as MySQL database.
The PHP code within the Web page is processed (parsed) by a PHP engine on the Web server, which dynamically generates HTML; the HTML, which contains the Web page content, is then sent to the user's Web browser; therefore, the user never sees the actual PHP code contained in the Web page, even when viewing the page source. you sure thats the right format?