http://bugs.php.net/bug.php?id=32943
Now tried
function isnumeric($n) { if (ereg("^[0-9]{1,50}.?[0-9]{0,50}$", $n)) { return true; } else { return false; } }
and that doent seem to work either..
any ideas.. need to validate anything without 0-9 and a dot within
tia
Pete
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php