I am trying an example from an O'Reilly book that I just can't get to work.
Can someone tell me where I am going wrong. According to the book, I should
see the values of the HTTP request echoed by the PHP. But obviously they're
not there. All I see is "regionName is wineType is"
Any help would be appreciated.
// index.html
<HTML>
<HEAD>
<TITLE>Explore Wines</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
Explore all our <A
HREF="example.5-4.php?regionName=All&wineType=All">wines</A>
<BR>
Explore our <A HREF="example.5-4.php?regionName=All&wineType=Red">red
wines</A>
<BR>
Explore our <A
HREF="example.5-4.php?regionName=Riverland&wineType=Red">premi um
reds from the Riverland</A>
<BR>
</BODY>
</HTML>
// example.5-4.php
<HTML>
<HEAD>
<TITLE>Parameters</TITLE>
</HEAD>
<BODY>
<?php
echo "regionName is $regionName\n";
echo "wineType is $wineType\n";
?>
</BODY>
</HTML>