999000333
Programmer
- Nov 20, 2006
- 39
Hello again,
is it possible to assign to the images redball.jpg and greenball.jpg a link, the way I did it does not work..can anyone tell me how to write the code so I can output the image and allow the user to click on it and go to another page?
<?php
if (!( $row_Elenco['DocNum'])){
echo "<a href="../admin/articoli.php">
<IMG SRC='../redball.jpg' ALT='Aperto'>";
} else {
echo"<a href="../admin/user.php">
<IMG SRC='../greenball.jpg' ALT='Chiuso'>";
}
?>
Thanks
Paola
is it possible to assign to the images redball.jpg and greenball.jpg a link, the way I did it does not work..can anyone tell me how to write the code so I can output the image and allow the user to click on it and go to another page?
<?php
if (!( $row_Elenco['DocNum'])){
echo "<a href="../admin/articoli.php">
<IMG SRC='../redball.jpg' ALT='Aperto'>";
} else {
echo"<a href="../admin/user.php">
<IMG SRC='../greenball.jpg' ALT='Chiuso'>";
}
?>
Thanks
Paola