New to WAMP can't get PHP to work
Posted by: eltunasto (---.dhcp.bycy.mi.charter.com)
Date: February 10, 2012 05:07PM

Hey All!!

I'm a college kid attempting to get my feet wet with the world of PHP and MySQL, and have hit a road block.

When I run my hello world program:

<html>
<body>

<?php echo "hello world" ?>

</body>
</html>

Chrome returns a blank screen, and when I use the inspect element feature it shows my code as:

<html>
<body>

<!--?php echo "hello world" ?-->

</body>
</html>

With my php line commented out. Can any one explain to me why this is happening, or what I might be able to look into to figure it out?

Thanks for all your help!!

Options: ReplyQuote
Re: New to WAMP can't get PHP to work
Posted by: eltunasto (---.dhcp.bycy.mi.charter.com)
Date: February 10, 2012 05:31PM

Never mind wasn't running the .php file from the server. Rookie mistake!

Options: ReplyQuote


Sorry, only registered users may post in this forum.