Skip to content
Advertisement

Tag: background-image

Adding PHP to background-image url

This is what I have so far but it’s not working. This is my css: Here is the full code: This PHP echo does not work. clicke to view output screenshot ,the blank space is the error ,others are url images Answer thank y’all for your contributions i got this myself i just added my website address to it @https://mywebsite.com/upload/blog/…

php Setting background image randomly from folder

I am trying to randomly set the background image of a webpage from a folder via PHP. I have the following code: Note: the printing of the files is just to ensure I reach that point in code and to see what the files are called. I found a similar question here: Random Background Image PHP but when I used

Advertisement