Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2006-10-24, 03:54 PM   #2
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
You could store a 0 or 1 value in a database, and have the value change every time the code executes... but that seems like a lot of resources to use up just to be in control over something like that.

Over a wide sample, random values should equal 50/50 odds.

Why do you need 50/50, exactly?

Also, I'd rather have the code cycle through an array of header values, this way you can easily add more headers later.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:21 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc