Random image on refresh

images php coding issues or problems here.

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Wed Dec 09, 2009 12:33 pm

Random image on refresh

Postby brunko » Wed Dec 09, 2009 2:21 pm

Hi, everybody.
Got a problem with a specific thing. I got lost when trying to make simple header image rotating with 2 other images after refresh.
Want to have different image in header after refreshing a browser and should be linkable as well.
here is the code I need to modify:

$style_td = ' style="background-image: url(\''.$setting['shop']['url'].'img/blue.jpg\')"';


Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest