actually i take that back, dont do the $count-1
instead cahnge this line to this
header("location:" . $urls[$random-1]);
__________________
Tanguy 0x7a69 inc. Programmer/President/CEO
http://www.0x7a69.com
A Leader in Programming since 1996
PHP, Ruby on Rails, MySQL, PCI DSS, and any Technical Consulting
|