Can't use echo function in PHP on Ubuntu
Just create my first droplet to Digital Ocean.
I have a
Ubuntu 16.04.3 x64.
This is working:
<?= phpinfo(); ?>
This is not working:
<? echo phpinfo(); ?>
It just show in the inspect element tools: <? echo phpinfo(); ?>.
Do I missed something ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×