0

Why am i getting html code also after execution of my php file in tutorialspoint ?

syntax overview in tutorialspoint​

14th Apr 2017, 4:18 PM
bhavana goud
bhavana goud - avatar
4 Réponses
+ 9
If I have a letter: Dear {salutation} {last_name}: We are writing to..... The "HTML" is: Dear : We are writing to.... and the rest, which you could call replacement placeholders, is pre-processed 'in addition' to the underlying HTML, so that when you are done the resulting first line might be: Dear Mr. Jones: That's the 'templating' concept (php, angularJS, etc). So specifically for php: Dear <?php echo($salutation); ?> .... But PHP (a "hypertext processor") is also a full language, which runs on the server...so you can do a whole lot more on that side: spit out custom HTML, whole pages, tiny data responses to javascript queries, etc.
14th Apr 2017, 4:56 PM
Kirk Schafer
Kirk Schafer - avatar
+ 19
PHP is processed and converted to html....
14th Apr 2017, 4:19 PM
Valen.H. ~
Valen.H. ~ - avatar
0
can u please explain me that why we are using php. what is its role in web designing and also what's its use of converting to html
14th Apr 2017, 4:23 PM
bhavana goud
bhavana goud - avatar
0
i couldn't get these answers through internet. so please explain. i started my journey of php with many confusions.
14th Apr 2017, 4:25 PM
bhavana goud
bhavana goud - avatar