Types of PHP Declaration style tags :-
- Universal style tag :-
<?php llphp statement print(“welcome to php”) ?>
- Short Open tag :-
<? //php statement Print (‘welcome to php’) ?>
- Script style tag :-
<script language = “php”> //php statement Print (‘welcome to php’); </script>
- Asp style tag :-
<% //php statements Print (“welcome to php”) %>
- By default in ‘php.INI’ the value of asp-tag directive is ‘off’. That’s why asp style tags will not execute. To execute these tags change the value as ‘on’ and ‘restart’ the web browser.