Hi - newbie question here!
I have a MYSQL Database driving some PHP pages - (I'm using Ultradev with
Phakt to author as I'm new to PHP). I need to display a 'leader' to a news
story - Like they don on all the portals. So I just want to show the first
100 or so chars of my database field rather than the whole story.
Can anyone tell me where i can learn to do this or just show me how to edit
my code?.
The code that displays the whole story at present is just:-
<?php echo $Recordset1->Fields("content") ?>
How should this be changed? - I'm not too fussed about calculating word
breaks or appending ..... dots or anything if that is more difficult!
Please help!
Thanks
Leo