Hey Guys ,
I am using a script and need a small fix .
Normally it grabs some images from a website but at times the images are not available .
e.g :
$variable = '
';
Now when the image is unavailable , at times i get :
or
Is there any simple function to do this :
( if the image variable is blank or (Array) , i use a custom image not available screen instead)
like :
If $variable = ("" or "Array") {
$variable = "http//site/image.png";
}
I am using a script and need a small fix .
Normally it grabs some images from a website but at times the images are not available .
e.g :
$variable = '
Now when the image is unavailable , at times i get :
Is there any simple function to do this :
( if the image variable is blank or (Array) , i use a custom image not available screen instead)
like :
If $variable = ("" or "Array") {
$variable = "http//site/image.png";
}