![]() |
Script that will bring up different html every time the page is reloaded
I have a page that I want to code so that every time page.php is loaded it will bring up random html that is predetermined
basically, when someone comes to my site they see ads page for company1, but if they were to hit refresh they would see ads for company2 every time the page is loaded it pulls one of the random html codes I have pre set up in the script |
PHP Code:
|
hmmm... replace the hahahas with square brackets :)
|
Quote:
|
yepz...
include $documentList[array_rand($documentList)]; hmm... this works outside the php bbcode tags :) |
that seems to work perfectly
thanks! |
thank you
|
All times are GMT -7. The time now is 07:39 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123