Hey guys I'm having trouble hammering this one out and was hoping for some help.
I receive a T_SL error, and I know its coming from HTML6 block. When I comment it out the script runs fine. Why is this happening? I'm positive I'm not missing any other '{' or ';'. Thanks for your time!
The excerpt:
else if ($x ==5) {
$y = date('Y');
print<<<_HTML5_
<b>Quarterly Transaction Reports</b><br/>
<form action="QuarterlyTransaction.php" method=post>
Transaction Year:<select name=quarterly_transaction_year>
<br/>
</form>
_HTML5_;
$yearcounter = 1997
while($yearcounter <= $getNewestYear)
{
print "<option>$yearcounter</option>\n";
$yearcounter++;
}
print<<<_HTML6_
</select>
<form action="QuarterlyTransaction.php" method=post>
Quarter:<select name=transaction_quarters>
<option>1st</option>
<option>2nd</option>
<option>3rd</option>
<option>4th</option>
</select>
<br/>
View All Years <input type=radio name=view_all_transactions value=1>
</form>
_HTML6_;
}