CodeIgniter Forums

Full Version: how does HTML useful in PHP?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]laralaya[/eluser]
hi everyone , i am a begginer in programing domine. May i know , how far HTML is useful in PHP in developing a site.

El Forum

[eluser]adamp1[/eluser]
PHP files are just like HTML files, but they can include both HTML and PHP code. The PHP code is parsed (or executed) by the Web server when the page is accessed and the resulting output is written as HTML within the Web page. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the Web server has processed the PHP code in the background. Most PHP pages are processed so quickly that it does not noticeably slow down the loading of the Web page.