AaaDee wrote:Hi, i have got a news page which displays all the News in the database.
But i only want to limit the stories on this page to 90 characteristics. There is then a link on the story which views all of the story on the page.
AaaDee wrote:hello moody moderator
looked it up, found a way but doesnt work.
substr($news,0,90); where the code will be displayed and all it displays is
substr(the actual news statement from my database.,0 , 90);
any help, or SORRY for troubling you.
print "This story: substr($news,0,90);";
print "This story: ".substr($news,0,90);
Users browsing this forum: icor1031, Majestic-12 [Bot], Yahoo [Bot] and 2 guests