I am used to writing HTML and having my browser automatically execute the code and allow me to view it, or using a compiler for a low-level programming language.. But, whenever I am trying to view my PHP code through .html or .php file extentions through the browser, I am presented with a blank white page.
I have tried viewing my work using html tags, as well as without. I have no tried using alternative free hosting, because I installed WAMP on my computer and all three services are running.. So, I figured what's the point, if that is what WAMP is for?
<html>
<body> // I figured using the HTML tags, and calling forth the use of PHP within a .html document would fix this problem. But no!
<?php
echo "Hello CodeCall!";
?>
</html>
</body>
Anyway, if you can get me to a point to where I can view my code and write, sort of like you would C++ if you will.. Write the code > Debug > Compile > View End Result; I would really appreciate it!
Thanks,
Donovan
#UPDATE: I have just tried to execute normal HTML code through the browser, and this works just fine. But, I only receive problems while executing PHP. The problem being, the server does not execute the code? I know something is going on, because the PHP lines are not displayed in text form on the screen either.


Sign In
Create Account



Back to top









