I'm using what should be a very simple script. Anyone got a clue what I've done wrong? I can't get the variable to show when I refresh the page. It's in the url, but the echo statements are blank.
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
<meta name="generator" content="Adobe GoLive 6">
<title>Scentco: Newscasts</title>
</head>
<body bgcolor="#ffffff">
<br>
<br>
Select a clip from the list below. At this time only newsclips featuring Paint Pourri are available for download.
<br>
<br>
<form action="index.php" method="get">
<select name="station">
<option value="wtsp">Tampa WTSP</option>
<option value="kdka">Pittsburg KDKA</option>
<option value="wtvg">Toledo WTVG</option>
<option value="wroc">Rochester WROC</option>
</select>
<br>
<br>
<input type=submit value="Play Newsclip">
</form>
<?php
echo "The variable is: $station";
echo "<embed src=\"ppouri$station.mov\" type=\"video/quicktime\">";
?>
</body>
</html>
The page is online at:
http://www.scentco.net/newscasts
Jonathan Lyons
Lyons Digital Media
Survival Guide to Printing and Graphics at:
http://www.lyonsdigital.com