+ 1

Why this tag is not working??

<? echo 'hello world'; ?> I write this coad in notepad++. but output is not given in Crome Browse. I work it local host.

26th Nov 2016, 11:05 AM
Aditya Mandal
Aditya Mandal - avatar
3 Answers
0
try <?php and check if the file ending is .php
27th Nov 2016, 12:31 PM
Drauchris
Drauchris - avatar
0
Use <?php your code ?> Or configure your php.ini file. (short_open_tag = on)
27th Nov 2016, 12:31 PM
H. Aytekin Olcay
H. Aytekin Olcay - avatar
0
hello
27th Nov 2016, 8:49 PM
vicilavio