[snip] You receive a string, so you need to find a function that will return the size of a string. I bet you will find the function in string section
of the manual. [/snip] A good starting place for this is string length in the manual at http://www.php.net/strlen Have a productive and positive day -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php