Forums

PHP

This topic is locked

PHP random ad positioning

Posted 01 Sep 2011 11:45:43
1
has voted
01 Sep 2011 11:45:43 shadoiqw kolo posted:
I have a simple ad script that displays random ads etc.. thats all fine, what I want to do is make these ads appear randomly over the page.

For example top one time, bottom the other, left next etc....

I have tried using the $pos = "random"; but no joy.

Can anyone shed any light.

Thank you.

Reply to this topic