Código PHP:
<link href="css/estilos.css" rel="stylesheet" type="text/css">
<table width="100%" border="0">
<tr>
<td width="11%" rowspan="2" align="center"><img src="../images2/<?php echo $row_Recordset1['imagen']; ?>" width="60" height="60"></td>
<td width="89%" class="titulo1"><?php echo $row_Recordset1['titulo']; ?></td>
</tr>
<tr>
<td class="link3"><?php echo $resumen; ?></td>
</tr>
</table>
<?php require_once('Connections/azimut.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
mysql_select_db($database_azimut, $azimut);
$query_Recordset1 = "SELECT * FROM noticias";
$Recordset1 = mysql_query($query_Recordset1, $azimut) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
mysql_free_result($Recordset1);
$resumen = substr( $row_Recordset1['contenido'], 0 , 200);
?>
asi?? y disculpa el fastidio!!!!
aunq asi me da un error