how can i count a string in MB ??
I mean if i have a string with 2000 words, how can i i count that how much MB it is??
or is there any function by which we can count the fields in mysqldatabse in MB ??
regards Tabish
there is [man]strlen[/man]. It returns string lengh in bytes. Divide it by 1024*1024, and you'll have length in MB.