0
echo $_SERVER['SCRIPT_NAME]
i dnt understand why this prgm not giving any output.
4 ответов
+ 1
first i can see here you didn't put "" double cotation properly..after correct this you try on your computer..
+ 1
hey deepak .. i try here it's working..output will be ..playground
echo $_SERVER["SCRIPT_NAME"];
+ 1
you are missing a quote after SCRIPT_NAME. Right syntax is: echo $_SERVER['SCRIPT_NAME'];
0
you tried it on the playground or in your localhost ?