This basic statement doesn’t work when i execute on my browser.
<?php echo "Helloworld"; ?>
I saved this statement in a file index.php and used a browser to execute. What mistake might be going through? I am new to php and please help me through it. Thanks in advance.
Apart from syntax please tell me why this isn’t working when i save it in a .php file and open in a browser this doesn’t show anything?
PHP start tag, should be
<?php and end tag should be
?> without any SPACES.
If even after removing the spaces the PHP is not working. You have to make your you can execute your PHP script from a server with application capable to executing it. Like Apahce, IIS. You can find thise application bundled with following stacks: LAMP, XAMPP, WAMP, MAMP, .IIS