Limit text
Posted: Tue Sep 02, 2008 4:11 pm
hey guys, i have another qustion 
In my MYSQL database i have a field called description.. it can have words up 500..
when i read this field i just want to limit the words to 250. is that possible?
here is my current code, all it does it read the hole row
thanks in advanced
In my MYSQL database i have a field called description.. it can have words up 500..
when i read this field i just want to limit the words to 250. is that possible?
here is my current code, all it does it read the hole row
Code: Select all
# Echo $row[dec] ;