Josh -

I need to serve banner ads from DoubleClick. Would you care to share some code to do this? By the way, the DoubleClick banner code looks like this:
Code
<a href="http://ad.doubleclick.net/jump/realtree.com/;sz=468x60;tile=1;ord=[randomnumber]?">
<img src="http://ad.doubleclick.net/ad/realtree.com/;sz=468x60;tile=1;ord=[samerandomnumber]?" height="60" width="468" alt="Please visit our sponsor">
</a>

I don't know much about PHP, but I found the following that generates the random number that's required by DoubleClick. I just don't know how to put all of this together.
Code
srand((double)microtime()*1000000);
echo rand(0,10000000);