WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
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:
Reply
•
Quote
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:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login