jacob New member Jun 30, 2006 92 0 0 Vancouver sipofwater.com Jun 30, 2006 #1 Is there a way to select say the first 255 characters of the field data within the database? I've been working on a blogging script and want to only display a certain amount of data for each post before the 'read more' link. tia!
Is there a way to select say the first 255 characters of the field data within the database? I've been working on a blogging script and want to only display a certain amount of data for each post before the 'read more' link. tia!
K kyleirwin New member Jun 25, 2006 1,818 32 0 Jun 30, 2006 #2 Use the substr function after you've extracted the data from the db. Look it up on php.net.