Page 1 of 1

image problem

Posted: Wed Nov 16, 2005 10:36 am
by daan
i want an image to be desplayed when a certain condition is 'yes'
now he displays a text but i want it to be an image

if($a1[Condition] == 'y')
{
$ShowInfo .= "condition<br>\n";


the text 'condition' should be an icon that is displayed

thanx

Posted: Wed Nov 16, 2005 10:41 am
by s.dot

Code: Select all

$ShowInfo .= "<img src=\"imageyouwanttodisplayifconditionismet.gif\" alt=\"Image\"><br>\n";

Posted: Wed Nov 16, 2005 10:46 am
by daan
thanx :D

Posted: Wed Nov 16, 2005 12:37 pm
by josh
scrotaye wrote:imageyouwanttodisplayifconditionismet.gif
yikes, that's the name of your image?