I have used this query many times before, and the exact same script works on another page of the same site.
http://www.healthiswithin.com
notice the news on the right. Only the first letter of the news title is being displayed, when it should be a sentence. This works fine on 2 other pages in the site. This is my script:
<?
$query = "Select news_id, news_title, date, active from news where active = 'yes' ORDER BY date DESC";
$result = mysql_query($query);
$num_rows = mysql_num_rows($result);
$i=1;
while($row = mysql_fetch_object($result)) {
$news_id[$i] = $row->news_id;
$news_date[$i] = $row->date;
$title[$i] = $row->news_title;
$i++
}
for($n=1; $n<=$num_rows; $n++) {
list ($year, $month, $day) = split ('[-]', $news_date[$n]);
$month_name = month_names ($month); $news_date[$n] = ($month_name . " " . $day . ", " . $year);
echo "<span class=\"newsDate\">" . $news_date[$n] . "</span><br>";
echo "<span class=\"newsLead\">" . $title[$n] . "</span><br>";
echo "<div align=\"right\"><a class=\"readMore\" href=\"news.php?news_id=$news_id[$n]\">>>full story</a></div>";
echo "<br><br>";
}
?>
This same script works fine in numerous other pages. It is the $title variable that should contain the full sentence of the title.
I appreciate any input!