Help regarding code execution in browser. | Sololearn: Learn to code for FREE!

+1

Help regarding code execution in browser.

I 'm using XAMP and notepad++ for php coding.When I try to execute the code it shows text instead of result.Any suggestions?

9 Answers

New Answer

+3

I used htdocs and my all things are correct .I really don't understand the problem.

+3

+3

just show the code as it is

+1

Check back xampp control panel with admin permission. If Apache and mysql is installed (if not install it by clicking on box and showing green tick is mean installed). Secondly use keyboard shortcode ctrl+shift+del to delete cache data of browser for unwanted results given in execution. Lastly i think u using right directory for web apps. (localhost(Apache for php and commons) run on htdocs directory at root and localhost: 8080 (tomcat) runs on tomcat/webapps/) If all things are correct try to rewrite what is problems

+1

try dreamweaver by setting up a server first m also facing that prblm to.. but i think that's because notepad++ dont set up the server that's why...

0

What browser says on localhost

0

Anyone

0

Use <?php echo "hello world"; Copy and paste what browser says here

0

See this video: https://youtu.be/DG0C3Tntl1M It is shown here how to install php and you will definitely find a solution.