The other thing that would work, according to my manual tests and within a limit of 5 digits, would be to change "$rtn .= $wsum;" in votecounter.php such that it yielded "12345"," 1234"," 123", etc - but my php is not up to that. Pete