Hello all
The Property of $killers is Saloman in my database and this is the code i am using.
---
<?
$tech = "$killers";
if ($tech == "Saloman") {
?>
<img src="../killdb/killer-images/<? print mysql_result($result,0,"killers"); ?>.jpg" alt="<? print mysql_result($result,0,"killers"); ?>, Eve Online" width="80" height="80" style="border-style: solid; border-width: 1px; border-color: #ffffff;">
<?
}
else {
?>
<img src="../killdb/killer-images/Unknown.jpg" alt="<? print mysql_result($result,0,"killers"); ?>, Eve Online" width="80" height="80" style="border-style: solid; border-width: 1px; border-color: #ffffff;">
<?
}
?>
--
So if Tech = Saloman if will show his image if not it will shown another image but it will not work. What am i doing wrong
All help apreciated as im banging my head on the desk.
Thanks in advace.
The Property of $killers is Saloman in my database and this is the code i am using.
---
<?
$tech = "$killers";
if ($tech == "Saloman") {
?>
<img src="../killdb/killer-images/<? print mysql_result($result,0,"killers"); ?>.jpg" alt="<? print mysql_result($result,0,"killers"); ?>, Eve Online" width="80" height="80" style="border-style: solid; border-width: 1px; border-color: #ffffff;">
<?
}
else {
?>
<img src="../killdb/killer-images/Unknown.jpg" alt="<? print mysql_result($result,0,"killers"); ?>, Eve Online" width="80" height="80" style="border-style: solid; border-width: 1px; border-color: #ffffff;">
<?
}
?>
--
So if Tech = Saloman if will show his image if not it will shown another image but it will not work. What am i doing wrong
All help apreciated as im banging my head on the desk.
Thanks in advace.