<?php?> tag doesn't work
MarkelL (10)

I am just starting to learn php. But because of some weird reason, the <?php?> tag in my html page doesn't work. CAn someone explain why?
I believe the html does not read it.

You are viewing a single comment. View All
Answered by timmy_i_chen (1026) [earned 5 cycles]
View Answer
CaptainAnon (53)

PHP is a different language to HTML. It is run on a server, before the page is sent to the client. Browsers cannot run PHP.

Just realised how difficult it is to read the phrase "browser tries to render file"