[thelist] PHP variable functions

Michael C. Foroobar mike.foroobar at verizon.net
Fri Jan 24 23:27:00 CST 2003

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.

   email: xavier at exit13.f2o.org
   icq:   195454488
   "I am not young enough to know everything." - Oscar Wilde

More information about the thelist mailing list