Wednesday 22 August 2012

php Tags | Type of tags | how to use tags

php Tags
<?
print("welcome to php");
?>

// universal style tag
<?php
// php script
?>
short open tag
<?
 // php script
?>
//asp style tag

<%
//php script
%>
<script language="php">
//php script
</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.
<?php
print("universal style");
?>

<%
print("asp style");
%>
<?
print("short open tag");
?>
<script language="php">
print("script style");
</script>
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: