Refresh to Change Background Image PHP Script


Refresh to Change Background Image PHP Script

In this tutorial you are going to learn how to Change the Background Image using PHP. This is simple and short codes.

 

 

    <!DOCTYPE html> 
    <html> 
    <head> 
    <title></title> 
    </head> 
    <body style="background-image:url('bgimg/<?php echo rand(1, 10); ?>.jpg');">
                <h1 style="color:#fff;">
                            Refresh to Change Background Image
                </h1>
    </body> 
     
    </html>

 

 

 

Read Me

 

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *