+ 1
It doesn't show my tag <?php from brackets, what else I need to code in order to work this simple proces
<html> <head> <title>My First PHP Page</title> </head> <body> <?php echo "Hello World!"; ?> </body> </html>
5 Respostas
+ 4
You need brackets around what you are trying to echo (since echo is a PHP function)
<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<?php
echo( "Hello World!");
?>
</body>
</html>
+ 2
I wasn't ececuting my page feim the localhost, I did it and it worked without problem, thank everybody that helped me
+ 1
it should be run on a php server!
With a php tag
0
Did you type it in the WEB or PHP Playgrounds?
0
I save it in fileTest.html