Instead of avlink=="" try
if($avlink==""||ceil(filesize($avlink)/1024)<1){
...
}
dat way, if file dnt exist, it stil shows the nopic.jpg file.
if($avlink==""||ceil(filesize($avlink)/1024)<1){
...
}
dat way, if file dnt exist, it stil shows the nopic.jpg file.
Comment