coderdk.
Hvis jeg erstatter min kode med din får jeg godt nok det rigtige reultat. Det står bare ikke hvor jeg vil ha det, men sådan her:
http://www.tourfacts.dk/year/stageclass.php?aar=1999&id=222Jeg vil gerne ha det ind i denne tabel:
echo "<table width='590' border='0' cellspacing='0' cellpadding='0'><tr><td style='border-bottom:solid 1px #C2C2A6;'>";
echo "<table border='0' cellspacing='0' cellpadding='2'><tr>";
echo "<td width='25' align='right' valign='bottom'>".$r1['placering']."</td>";
echo "<td width='15' align='center' valign='bottom'><strong><font color='#FF0000'>".$r1['andet']."</font></strong></td>";
echo "<td width='20' align='left' valign='top'><img src=$r1[flags] width='15' height='10' border=0></td>";
echo "<td width='20' align='right' valign='top'>".$r1['nummer']."</td>";
echo "<td width='200' align='left' valign='bottom'><a href='
http://www.tourfacts.dk/profilryttere.php?id=$r1[rytterid]' class='link2' target='_self'>".$r1['name']."</a></td>";
echo "<td width='170' align='left' valign='bottom'><a href='
http://www.tourfacts.dk/year/teamriders.php?aar=$aar&hold=$r1[teamid]' class='link2' target='_self'>". $teamname ."</a></td>";
echo "<td width='60' align='center' valign='bottom'>".$r1['tid']."</td>";
echo "<td width='15' align='center' valign='bottom'>=</td>";
echo "<td width='55' align='left' valign='bottom'>".$snit_afrundet."</td>";
echo "</tr></table>";
echo "</td></tr></table>";