[thelist] PHP variable functions

Xavier x at exit13.f2o.org
Fri Jan 24 13:27:01 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.

---
Xavier
   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