Hi,

I want to display the less characters in table. In the database the field datatype for description is TEXT.

So for example, when i insert more then 500 charaters in that field. When i fetch that description field in the table(front-end) it is increasing the table size as per the number of characters.

So i want to display some characters in that table field(front-end). Can anyone give me the solutions for this.

Example: Like this i want to display:

Field in the Database:
Description: This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text.


Front-display should be like:

s.no | Description

1 This is text. This is text. This is Te....


Thanks

Regards,

Ravi

Stop adding more then 500 char using script...

Are u insert using text area...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.