Forum Moderators: coopster

Message Too Old, No Replies

Retrieving Specified Amount of Data from MySql Table

How to specify a certain amount.

         

coho75

7:04 pm on Jan 26, 2005 (gmt 0)

10+ Year Member



Hi! I have been trying to find an answer to a question I have, but I've been unsuccessful. What I am trying to do seems like it should be simple. I have a few tables in a database that hold some articles I have written. From each, I would like to grab the first few sentences and output them to a file on my server. The problem I am having is retrieving a specified amount of text from each table. Is there a way to do this? All help is appreciated.

coho75

jatar_k

7:12 pm on Jan 26, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you could use SUBSTRING [dev.mysql.com], you'll have to search that page for it, it is a ways down.