I am using wamp server 2.0 on windows XP with PHP version 5.2.5 when I am using the following code
<?
echo "hai";
?>
I am not getting the output. But when I am using
<?php
echo "hai";
?>
Got the result.If I am using the first one in Linux server I got the output.One of my large project like the first one in all php pages.I want to configure with wamp.SO if first coding needs to work what can I do?
My first guess is your
php.iniisn’t configured for this. The parametershort_open_tagis responsible for it.Edit your php.ini, search the following parameter and activate it (or add it when its missing there):
More details are in the php-manual.