Forum Moderators: coopster

Message Too Old, No Replies

trimming data retrived

         

Butterfly Wing

10:59 am on Jan 5, 2005 (gmt 0)

10+ Year Member



Folks,
I need so me hlp , would u hlp me plz?

My side....i have a 4 rows table each contents retrived from MySql Database.... so when i retrive it the whole data comes in the row...i dont want all story so i wanted to trim it just make it look cool and short to give hyperlink to the more nextpage.

can any one tell how to do this or is there any easy way to trim?

Bonusbana

11:20 am on Jan 5, 2005 (gmt 0)

10+ Year Member



Im not sure what you mean... if you are trying to retrieve a portion of a content from a DB, you can display a substring from the data's first, say, 300 chars and add a link in the bottom to another php file that extracts the full data based on a keyword in the URL.

Its kind of hard to help you at this point, please provide some more info about the data and what you are trying to achieve.