Rotating/refreshing banner in php

Soldato
Joined
6 Jan 2006
Posts
3,423
Location
Newcastle upon Tyne
Not the best with php so I need your help please

What ever is going to be the easiest, rotating or changing on refresh.

Thanks for any help

Mark
 
I wrote this because it’s always getting bleedin’ asked in HG&P

:p

However its not for a sig in a forum but a banner on a web page.

Im nearly there but I think the problem is that its not an image but a php file.

Code:
<a href="', $scripturl, '"><img align="top" src="', $settings['images_url'], '/Banner/rotate.php" alt="Logo" /></a>';

Any ideas?
 
I can get the whole thing working on a test page just not in the page I want it!! Think I'll have to recode it a bit but as I said Im not too good with php :p
 
Yeah thats what I meant, will have to have a look at my pages code. Will post up the code if I dont get it to work thanks :)
 
Back
Top Bottom