Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

counting caracters

General discussions related to php

Moderators: macek, egami, gesf

counting caracters

Postby rafaes18 » Fri Sep 27, 2002 12:35 am

Hello there
Can anybody help me with this?
I am retriving information from a database. This information goes into a news feed. my problem is hat I display a taster of the latest news on the front page of the news feed and from there, clicking on some links, one can read the full article.
How could I set this up so I limit the number of caracters to be displayed on the front page and if the string is longer that this limit I cut it and then find the next empty space and add a link to the full article.
thanks
rafa
rafaes18
New php-forum User
New php-forum User
 
Posts: 13
Joined: Thu Sep 12, 2002 7:18 am

Return to PHP General

Who is online

Users browsing this forum: No registered users and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron