Huge Script - Help!
Moderator: General Moderators
- SilverMist
- Forum Commoner
- Posts: 65
- Joined: Tue Mar 02, 2004 2:06 pm
- Location: Canada
- Contact:
Huge Script - Help!
Okay, so I am doing this HUGE script. What it does is, when someone enters their horse in a race, the races run at a certain time, and a database would pick the winner. I realize this is a huge script, and I am just wondering if anyone had some small stuff they could show me, so I can get an idea of what to build onto.
http://dev.mysql.com/doc/mysql/en/Mathe ... tions.htmlORDER BY RAND() combined with LIMIT is useful for selecting a random sample of a set of row
But you could do that in plain PHP also using the various function used to randomize 'things', and example being: [php_man]array_rand[/php_man]()...