PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have two images image 1 and image 2. I want to insert image 1 as background when a variable test =1 otherwise the image 2 needs to be inserted. I wrote the following code for it.