Skip to content
Advertisement

php-echo doesn’t stop after semicolon

this is a noob question.A very big noob question. I’m trying echo something,using notepad++ to code.

JavaScript

But what I get is this:

JavaScript

What am I doing wrong?

Advertisement

Answer

You are getting this result because you are running from Notepad++ Run -> Launch in Browser.

This is wrong. Use any web server to make it work. It will not just started working by merely launching the page in browser.

For basic start you can try Wamp Server.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement