Forum Moderators: coopster
I have a php file that has an <img> tag but what i want to do is basically make two different images load depending on the value of a text file. For example if image.txt has data in it it should display image1.jpg or if image.txt is empty then it should display image2.jpg.
Can anyone tell me how this can be done in PHP?
Cheers
Linda