How do you view your code in a web browser?

Simple I know, but I am very new to this. Every time I try to view my code in a web browser, it displays the code itself but not the resulting web page. What am I doing wrong?

Are you trying to preview PHP code? Browser Preview renders HTML or CSS using HTML.

1 Like

install wamp and retry if it’s php.

As Defman said, browser preview is for HTML/CSS. What you could do is ensure that you have a web server running which supports PHP and then direct Komodo’s browser preview to this web server, rather than the local file.