Jump to content

Limiting the ammount of text displayed


mathewjenkinson

Recommended Posts

Hi All,

Im writing a page that displays snipets of news articles.

I can get the page to connect to the MYSQL DB and get the title and thumbnail however I want to limit the amount of the actual news bit to 50 characters with a link to the rest of the article.

 

Anyone got any ideas?

 

Thanks

Mathew.

Link to comment
https://forums.phpfreaks.com/topic/123284-limiting-the-ammount-of-text-displayed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.