I have a image i want to display instead of text i have showing. Some what a newbie so be gentle.
Now, just above i have EASTERN CONFERENCE and WESTERN CONFERENCE that prints and i want to replace that text with a image. Anyone help a poor man out? :)
Code:
<?php
function ConferenceStandings ($conference)
{
include 'connect.php';
$teamid = $_REQUEST["id"];
// Connects to your Database
$sql = "select *from season11 join teams WHERE season11 . team =teams . teamnameseason AND teams . conference ='$conference' ORDER BY `season11` . `P` DESC";
$data = mysql_query($sql) or die(mysql_error());
Print "<table width = 300>";
Print "<th bgcolor=#C10000> # </th>";
Print "<th bgcolor=#C10000> Team </th>";
Print "<th bgcolor=#C10000> GP </th>";
Print "<th bgcolor=#C10000> Pts </th>";
$count++;
while($info = mysql_fetch_array( $data ))
{
$wcount=$wcount+1;
$teamnameseason = $info['teamnameseason'];
Print "<tr>";
if ($wcount == 9)
{
Print "<td>"?>
<hr align="center" width="100%" size="1" color="#C10000" />
<?php "</td> ";
Print "<td>"?>
<hr align="center" width="100%" size="1" color="#C10000" />
<?php "</td> ";
Print "<td>"?>
<hr align="center" width="100%" size="1" color="#C10000" />
<?php "</td> ";
Print "<td>"?>
<hr align="center" width="100%" size="1" color="#C10000" />
<?php "</td> ";
Print "<tr>";
}
Print "<td align = center>".$wcount. "</td> ";
Print "<td align = center>".$info['teamnameseason'] . "</td> ";
Print "<td align = center>".$info['GP'] . "</td> ";
Print "<td align = center>".$info['P'] . "</td> ";
}
Print "</table>";
include 'closedb.php';
}
print "EASTERN CONFERENCE";
print "<br />";
ConferenceStandings ("East");
print "<br><br><br>";
print "WESTERN CONFERENCE";
ConferenceStandings ("West");
?>
Now, just above i have EASTERN CONFERENCE and WESTERN CONFERENCE that prints and i want to replace that text with a image. Anyone help a poor man out? :)
Comment