Php opening tag ! echo"hello" ; php closing tag ! Hii | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Php opening tag ! echo"hello" ; php closing tag ! Hii

still it not giving me output . & if I write anything after closing PHP tag it shows to me page. e.g Hii ! please help. I am using xampp & sublime text

12th Nov 2017, 4:51 AM
Shubham Gupta
Shubham Gupta - avatar
1 Answer
+ 3
I guess you are using short opening tag (<?). In that case you must enable the shot tags in your php.ini file. You can just use full form and it will work as you expect. <?php echo "hello"; ?> Hii Above code piece must show you following output. helloHii
12th Nov 2017, 8:58 AM
Sajith Warnasooriya
Sajith Warnasooriya - avatar