Posted by Steve on 04/20/07 13:20
| function validateInput(&$value, $key, $errs) | { | $maxValue = 999; | if ($value <= $maxValue) return; | $errs[0][$key] = "message..."; | } | | array_walk($numbers, 'validateInput', array(&$errors)); | print_r($errors); doesn't work on my machine (php 5.1.6)
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming