The followind code will not render on Firefox or Safari (OS X & MAMP) I have googled all afternoon but am new to web programming and I am more confused than when I started.
<html>
<head>
<title>Hello World!</title>
</head>
<body>
<h1>Examples</h1>
<?php echo "Hello World!"; ?>
<br />
</body>
In Safari it displays the above code and Firefox asks what to do with it.
I suspect I need to set some options in Apache but definately need help. Thank you
put these lines of code at the first line of you file, and check the error or warning you get.
Then tell me the result. I hope you can find out what is the problem.