I have spent a couple of hours doing some "trial and error" but can't get Brian's suggestion to work.
When I pasted the code at the point that Brian suggested, and tried to load the page using Safari, I got this error message:
Parse error: parse error, unexpected '\"' in /home/.dempsey/madwest1/madwest1958.org/calendar/calendar4.php on line 27
Does anyone have any ideas what I am doing wrong?
Thanks again in advance for your comments!
Here is the link to the page that generated this error:
http://madwest1958.org/calendar/calendar4.php
Below is the code for the page (including the added code insterted after the <body> tag:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Easy PHP Calendar</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<?php $CSS=1; require("calendar.php"); ?>
<style type="text/css">
<!--
.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
}
-->
</style>
</head>
<body>
<?php
$mo=$_REQUEST[mo];
$yr=$_REQUEST[yr];
if (!isset($mo) || $mo<1 || $mo>12 || !is_numeric($mo)) $mo = date("m",time() - date('Z') + ($gmt * 3600));
if (!isset($yr) || $yr<1970 || $yr>2036 || !is_numeric($yr)) $yr = date("Y",time() - date('Z') + ($gmt * 3600));
****?>
*****<form name="form3" method="post" action="<?php echo $PHP_SELF ?>">
********<select name="mo" id="mo">
*********<?php
for ($N=1; $N<=12; $N++) {
****echo "<option value='$N'";
****if ($N==$mo) echo " SELECTED";
****echo ">$mth[$N]</option>";
****}
****?>
********</select>
********<select name="yr" id="yr">
*********<?php
for ($N=2000; $N<=2036; $N++) {
****echo "<option";
****if ($N==$yr) echo " SELECTED";
****echo ">$N</option>";
****}
****?>
********</select>
********<input type="submit" name="Submit" value="Go">
*****</form>
<?php $OL=1; require("calendar.php"); ?>
<table width="100%" align="center">
<tr><td align="center">
<?php
// $TOC=1; // UNCOMMENT THIS LINE TO SHOW TEXT ON CALENDAR
// THIS IS AN EXAMPLE OF THE MULTI-CALENDAR GENERATOR
$MULTI=1;
$epcMultiWidth = "600px";
$epcMultiPad = 10;
$epcMultiNav = "580px";
$epcMultiCol = 3;
$epcMultiRow = 1;
require("calendar.php");
?>
<br />
<br />
<?php
// SHOW LISTINGS MODULE
// $epcListMouseover=1; // WILL USE THE MOUSE-OVER POPUPS FOR LIST MODE
$LIST=1;
$listMonths=3;
$DF = "M jS, Y (D)";
$template="modern.php";
require("calendar.php");