I'm working on upgrading a site from pure HTML to PHP, and I'm running into an error with some of the files. Everything looks right to me, but I'm obviously missing something.
Error:
Parse error: syntax error, unexpected '}' in /home/tigers3409/chemistry.sphsscience.org/lessons/lp1-1.php on line 54
// Include the file that contains the design structure of the site
include('./config/main.php');
// Change the text in the title bar of the page
function pg_header()
{
/* The variable, in quotes, changes the name in the title bar,
calls the function located in [siteroot]/config/main-split.php */
template_split_disp_head1("Lesson Plan: Unit 1-1");
}
function disp_content()
{
?>
<table border=0 rules=NONE align=center width="90%">
<tr>
<td width="10%">
</td>
<td width="80%">
<h2 align=center>Lesson Plan: Unit 1 Block #1</h2>
</td>
<td width="10%">
<a href="./lessons/lp1-2.html">Next Lesson</a>
</td>
</tr>
</table>
<h3>Lab Safety and Material Safety Data Sheets</h3>
<ul>
<li>Seating Assignment</li>
<li>Introduction to Students and Instructor</li>
<li>Introduction to Policies and Procedures</li>
<li>Safety Equipment Scavenger Hunt</li>
<li><a href="./syllabi/organizers/CourseOrganizer.doc">Course Organizer</a></li>
<li><a href="./syllabi/organizers/Unit_1_Organizer.doc">Unit Organizer/Key Terms</a></li>
<li><a href="./activities/CriticalSafetyQuestionnaire.doc">In-Class Practice: Critical Safety Questionnaire</a></li>
<li>Safety in the Lab Egg Demo</li>
<li>Material Safety Data Sheet Presentation</li>
</ul>
<ul>
<b>Notes:</b>
<li><a href="./notes/n1-1.ppt">Notes – Unit 1 Block #1</a></li>
</ul>
<ul>
<b>Homework:</b>
<li>Reading: ppg. 29-37, 44-46</li>
<li>Write the steps on scientific method using the lesson plan notes from the Chemistry Team website.</li>
</ul>
<?php
}