0
I am at 2/6
when I run in web browser It shows ?php echo ('Hello'); ? >. I am very new to php.. please someone answer me .
3 Answers
0
have you installed php?
0
install xampp and place your project inside the htdocs which is usually
C://xampp/htdocs
and then open your browser and on the url bar at the top type localhost/YourProjectFolder (remember to turn on server on xampp controll panel)
0
php runs on server side, so you need to use a server to see the results.
You can use wamp(if you are a windows user), xampp(which is cross-platform) etc. to setup a localhost on your computer and run your files.
Just search for example, how to run php file with xampp, on google and you' ll find many step by step instructions to guide you