CodeIgniter Forums
how does HTML useful in PHP? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: how does HTML useful in PHP? (/showthread.php?tid=29291)



how does HTML useful in PHP? - El Forum - 04-05-2010

[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.


how does HTML useful in PHP? - El Forum - 04-05-2010

[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.