Hi all,
I have been playing around with this and still no luck.... here is what I have came up with so far. If I put the $image by itself the image shows up
but when I try to take Injured out of the status section in the db nothing shows
The DB name is players, the column name is status and the wording in status is Injured.
I am trying to make it so if a players status comes up Injured then a injured image shows up besides his name
$stats_sql9 = "SELECT * FROM player_stats,teams,players WHERE player_stats.seasonid = '".$sid."' AND "
."teams.id = player_stats.team_id AND "
."players.id = player_stats.playerid AND players.status = 'Injured'";
$stats_sql7 = mysql_query("$stats_sql9");
$stats_sql6 = mysql_result($stats_sql7,0,"status");
$stats_sql8 = mysql_result($stats_sql7,0,"status");
if ($stats_sql9 != Rookie) {
$nosite = $image;
} else {
$nosite = $image;
}
$image = "<img border=\"0\" src=\"http://www.theufhl.com/images/injury.gif\">";