PHP code keeps showing on the browser
Posted by: faustnero (---.dsl.bell.ca)
Date: July 07, 2013 02:48AM

Hello guys. I've installed/reinstalled wamp multiple times and I can't seem to solve this problem. At the first run, wamp will run the php of the index.php( <?php echo "hello world"; ?>winking smiley file I made in a folder I made in the wamp folder. Then when I create a new one, declare a variable, echo it on the screen, it doesn't work, and the browser flashes my code on the screen. Does anybody here have a fix? Thanks a lot!

Options: ReplyQuote
Re: PHP code keeps showing on the browser
Posted by: stevenmartin99 (Moderator)
Date: July 07, 2013 08:40AM

You need to open the file in local host

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.