tal vez no he definido bien el campo a leer como dices, esto es lo que tengo
Código PHP:
<?php require_once('panel/Connections/panel.php'); ?>
<?php
//set_time_limit(0);
// Funcion para cortar cadenas de texto
function CropSentence($strText) {
$intLength = 120;
$strTemp = "";
$sep=" ";
if (strlen($strText) > $intLength) {
$arrTemp = explode($sep,$strText);
$numwords = count($arrTemp);
for ($c=0; $c<$numwords; $c++) {
if (strlen($strTemp) <= $intLength) {
$strTemp = $strTemp.$arrTemp[$c]." ";
}
}
$CropSentence = $strTemp."... ";
echo $CropSentence;
} else {
$CropSentence = $strText;
echo $CropSentence;
}
}
?>
<?php
mysql_select_db($database_panel, $panel);
$query_Rsnot1 = "SELECT * FROM noticias WHERE categoria = 14 ORDER BY id_noticia DESC";
$Rsnot1 = mysql_query($query_Rsnot1, $panel) or die(mysql_error());
$row_Rsnot1 = mysql_fetch_assoc($Rsnot1);
$totalRows_Rsnot1 = mysql_num_rows($Rsnot1);
?>
<HTML>