I am trying to display an image stored in a DB based on whether it is there or not. Here is my code:
if ($row["image_path"] == 0){
print("");
}else{
print("<img src=" . $row["image_path"] . " align=" . "right" . ">");
}
however it always prints ("") no matter what, how do I say "if $row[image] is null, then...
any help would be appreciated.