<? not working
Posted 10 April 2006 - 10:13 PM
mysql version 5.0.18
Server OS: Server 2003
IIS version 6.0
When I try to run php files that start with <? they don't work but if I use <?php they work. If I try a file that starts with <? as soon as it hits a > in the code it begins to print on the screen untill it hits another <...> then prints again. It is like it is acting as html tags or something. Any ideas?
Posted 10 April 2006 - 10:45 PM
It is considered good practice to use <?php and ignore using anything else so if you can just use <?php.
Posted 11 April 2006 - 03:20 AM
Posted 11 April 2006 - 07:47 AM
Once you have switched it on you will need to save the php.ini file and then restart IIS. You should now be able to use short open tags <? ?> aswell as <?php ?>
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users