Can you use PHP to show a default image if the image field
Posted: Thu Jul 26, 2007 5:37 am
Can you use PHP to show a default image if the image field in a database row is empty?
I'm creating a news page, but the client may not always upload an image with a news story. I know how to hide the area, but this leaves a big blank space. It would be much better if a default image were to appear.
I'm creating a news page, but the client may not always upload an image with a news story. I know how to hide the area, but this leaves a big blank space. It would be much better if a default image were to appear.