0
Why am i getting html code also after execution of my php file in tutorialspoint ?
syntax overview in tutorialspointâ
4 Answers
+ 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.
+ 19
PHP is processed and converted to html....
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
0
i couldn't get these answers through internet. so please explain. i started my journey of php with many confusions.