Using PHP/MySQL database
So far this is the code
That shows the first 150 characters, any way of changing that to show the first 22 words.Code:<?php echo substr($row_rsNews['newsArea'], 0, 150); ?>.....<a href="news_item.php?newsId=<?php echo $row_rsNews['newsId']; ?>" >(more)</a> <br /><br />




Reply With Quote