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.
Any help.
Cheers
Adam
try
echo substr($news,0,90);
starts at news[0] goes on 90 chars
Al
Hi, i have tried that but it displays
substr(the actual news statement from my database.,0 , 90);
Any ideas?
ive searched on the web for substr but cant seem to get it to work!
cheers
adam
when you are doing the echo don't do this:
echo "substr($news,0,90)";
do this:
it makes a difference!!