On Fri, 24 Jan 2003, Xavier wrote: > Here is my dilemna: > I have a string coming out of a MySQL database and it is put into a PHP > variable which I'll call $text. Counting the words in the string is a > trivial thing, but what I want to do is figure out of the size of the > string in bytes... I can't think of a way to do this in PHP or MySQL, so > any help would be appreciated, especially via ICQ. You want the PHP strlen() function. -- Ernest MacDougal Campbell III, MCP+I, MCSE <dougal at gunters.org> http://dougal.gunters.org/ http://spam.gunters.org/ Web Design & Development: http://www.mentalcollective.com/ This message is guaranteed to be 100% eror frea!