
21/11/2005, 17:37
|
| | Fecha de Ingreso: diciembre-2004
Mensajes: 108
Antigüedad: 20 años, 3 meses Puntos: 1 | |
<?php
include("Connections/coneccion.php");
$_SQL = mysql_query("SELECT * FROM rss_noti ORDER BY id DESC LIMIT 0,25");
while($_ROW = mysql_fetch_array($_SQL)) {
if ($_ROW[texto2] && $_ROW[fecha] == "0") { $_RSS["LINK"] = 'http://localhost/pruebas/index.php?mod=newnro'.$_ROW[id]; }
elseif ($_ROW[fecha] != "0") { $_RSS["LINK"] = 'http://www.solo-racing.com.ar/hola.php?mod=fechanro'.$_ROW[fecha]; }
$_RSS["texto2"] = str_replace("&","&",$_ROW["copete"]);
echo '
<item>
<title>'.$_ROW["titulo"].'</title>
<description>'.$_RSS["texto1"].'</description>
<image>
<title>Racing El Quinto Elemento</title>
<url>http://www.solo-racing.com.ar/rss_feed.jpg</url>
<link>http://www.solo-racing.com.ar/</link>
</image>
<link>'.$_RSS["LINK"].'</link>
</item>
';
<b>Warning</b>
: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in
<b>c:\wamp\www\practicas\rss3.php</b>
on line
me sale este error en la consulta |