Re: Keep getting Error line #299
here is the code from line #299
What I am really looking for is the correct field names in the table..I've tried what I thought they maybe but still get error message..not using proper field names I believe is the cause of the error
while ($match = mysql_fetch_array($matches)) {
$match['matchdate'] = date_format(new DateTime($match['matchdate']), "n/j/Y");
// <a href='/match.php?matchid=$match[matchid]' title='View Match'>vs.</a>
$output .= "<tr class='altcolor$rowclass' cellpadding='10'>
<td> <a href='/teams.php?teamid=$match[wteamid]'>$match[wteamalias]</a></td>
<td> <a href='/teams.php?teamid=$match[lteamid]'>$match[lteamalias]</a></td>
<td> <a href='/ladder.php?ladderid=$match[ladderid]'>$match[laddername]</a></td>
<td> $match[matchdate]</td>
<td> <a href='/tracks.php?action=viewmatch&matchid=$match[matchid]'>View Tracks (<font color='#0099FF'>$match[numtracks]</font>)</a></td>
</tr>";
$rowclass = $rowclass == 'a' ? 'b' : 'a';
}
$output .= '</table>';
return $output;
thanks
Edited 3 time(s). Last edit at 07/19/2010 08:07AM by Bill Juschko.
Subject
Written By
Posted
Re: Keep getting Error line #299
July 18, 2010 11:21AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.