I've installed wampserver 2.2 on my windows 7 tower and windows xp laptop.
the following code works:
(Index.php)
<?php include("menu.php"
; ?>
<p>This is my home page that uses a common menu to save me time when I add
new pages to my website!</p>
</body>
</html>
(menu.php)
<html>
<body>
<a href="[
www.example.com]; -
<a href="[
www.example.com] Us</a> -
<a href="[
www.example.com]; -
<a href="[
www.example.com] Us</a> <br />
the following does not:
<html>
<?php include("head.inc"
; ?>
<body>
<?php include("boxbanner.inc"
; ?>
<div id="all">
<div id="leftbit">
<ul>
<li><a href="genealogy/grpmain.php">Family Group Sheets</a></li>
<li><a href="forward.php">WWvA Letters</a></li>
<li><a href="valinks.php">Civil War Links</a></li>
<li><a href="vacontact.php">Contact Information</a></li>
... followed of course by the rest of the html
Wampserver is green, all process started, phpmyadmin works, phpinfo works.
it does not work though when I create a file
(phpi.php)
<?php
phpinfo()
?>
and enter "localhost/phpi.php" in a browser. It just gives me a blank screen. View source shows me unprocessed php code.
The extensions for the OS are shown ( so I'm not looking at phpi.php.txt ) that's one of the first things I do when I load an os.
All day yesterday and 3 hours today - would someone please tell me what I'm doing that so blasted dumb!
//al
Preview here shows a smiley face - obviously those are a close parenthesis followed by a semi-colon.