Heres part of the code:
// full season stats
if (!isset($_REQUEST["allstats"]) || ($_REQUEST["allstats"] != "yes"))
{ // show primarily relevant stats by position
switch ($thisPlayer->getPositionAbbv())
{
?> <table class="stattable">
<tr>
<th>Week</th><th>Opp</th><th rowspan="300" class="vborder"></th>
<th>Fantasy<br />Points</th><th rowspan="300" class="vborder"></th>
<th>Pass Att</th><th>Pass Cmp</th><th>Pass Yd</th><th>Pass TD</th><th>Int</th><th rowspan="300" class="vborder"></th>
<th>Rush Att</th><th>Rush Yd</th><th>Rush TD</th><th rowspan="300" class="vborder"></th>
<th>Fmbl</th><th>2-Pt</th>
</tr>
<?php
$cats = array("Points", "PassAtt", "PassCmp", "PassYd", "PassTD", "Int", "RushAtt", "RushYd", "RushTD", "FmblLost", "TwoPt");
break;
?> <table class="stattable">
I keep getting the following error:
Parse error: parse error, unexpected T_INLINE_HTML, expecting T_CASE or T_DEFAULT or '}' in /home/fantasyp/public_html/baseball/players.php on line 317
Line 315-321 here:
[code=php] <th>Fmbl</th><th>2-Pt</th>
</tr>
<?php
$cats = array("Points", "PassAtt", "PassCmp", "PassYd", "PassTD", "Int", "RushAtt", "RushYd", "RushTD", "FmblLost", "TwoPt");
break;
?> [/code]