Error: PHP Warning: rand() expects parameter 1 to be long

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

koolheaven
Forum Newbie
Posts: 14
Joined: Tue Aug 08, 2006 3:55 pm

Post by koolheaven »

The Ninja Space Goat wrote:1) have you read the manual corresponding to this function?

http://us3.php.net/manual/en/function.rand.php

2) The reason for the extra errors is because you are sending output before headers (var_dump outputs information about a variable)

Thanks Ninja! I'm now checking that site :idea:
Post Reply