0
Okk so i tried this code but it shows a blank page
<html> <head> <title>My First PHP Page</title> </head> <body> <?php echo "Hello World!"; ?> </body> </html> Is it because its server side But the eg work in sololearn Thanks
3 Antworten
+ 2
You have to try over a server, online or yours at home, but need to run an Apache or other server software configured. If is in home, normally you can access to configuration via http://localhost, if remote, simply upload your file to destination folder via ftp and run through your web browser. It have to work well, it seems. But it will not run locally if you don't have a web server installed in your computer. Tell us when you try.
0
I am doing it in iis but
Instead of outputing only hello world!
It displays echo "hello world"
0
I first only put the php
And a blank page appeared
I added whole html from the comment
And it started to displays
echo "hello world"