note 56251 deleted from function.rand by felipe

From: Date: Sun, 30 Dec 2007 18:44:02 +0000
Subject: note 56251 deleted from function.rand by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134428@lists.php.net to get a copy of this message
Note Submitter: andy at andycc dot net ---- Regarding my previous post / function - there's an error in the "for" loop declaration, the correct line should be: for ($a = 0; $a < $length; $a++) { the previous posted line would generate a string that is 1 character longer than the given $length. This corrects that problem.

« previous php.notes (#134428) next »