count a string, if its >= 10 then do something
Posted: Wed Feb 07, 2007 2:14 am
Hi,
How can u count a string, then if its over 10 characters do something?
Thanks
How can u count a string, then if its over 10 characters do something?
Code: Select all
if (count($row['description'] >= 10)) {
$readmore = 'Do this';
}Thanks