Tags in Php | How to use tags in php

php Tags


// universal style tag


short open tag

//asp style tag

<%

//php script
%>


// script type tag

By default Xampp 1.7.2 will not execute asp style tags and short open tags .Because php.ini we have to configuration direction related to this tags those are
1) Asp_tags , short_open_tags , the value of this tag is off by change this value to "ON" we can execute this tag.
If we change the value of php.ini , php.conf direction we have to save the files then restart the web server.


<%

print("asp style");
%>

0 comments:

Post a Comment