I have a field type product_description of type longtext in my database (MYSQL) which suppose has pararagrapg which is 300 characters long.
NoW using the select statment I retrive the value of product_description. Now when I write that value I want to write down only first 100 charaters. How can I do that . You must have seen something like that
This is a NEC cell phone, it uses 2 high voltage batteries. It comes with phone case and .... more
and when you click on more you get to new page with the full text.
Thanks
NoW using the select statment I retrive the value of product_description. Now when I write that value I want to write down only first 100 charaters. How can I do that . You must have seen something like that
This is a NEC cell phone, it uses 2 high voltage batteries. It comes with phone case and .... more
and when you click on more you get to new page with the full text.
Thanks