Hi Everyone.
Can someone assist me? I'm pulling data from a DB, If the first value is empty it should check the second one and if that is also empty assisgn value.
Hope it's understandable.
Regards
if(empty($veh_img)){
$galpic="image.gif";
}elseif(empty($disk_img)){
$galpic="image.gif";
}else{
$galpic="$disk_img";
}