Jump to content

Setting a set number of characters for a variable?


Perad

Recommended Posts

I am calling a load of infomration from my database, unfortunately there is not much room on the page to display the whole article, instead i plan to limit the result to set amount of characters and add a link to read the whole thing..

 

How do i do this?

 

The variable is called $blog_content

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.