Hola como estan amigos.. pues necesito ayuda cerca del script que estoy desarrollando.. lo que pasa es que en mi page index.php muestro solo tres noticias... lo cual cuando de click en el resumen de una de las noticia me muestre la page... notidetalle.php con toda la noticia completa... el error que pasa aqui es que cuando le doy click en el segundo contenido osea en la noticia 2 me envia notidetale.php pero em muestra... el contenido de la noticia uno... Bueno aqui.. coloco el codigo.. de Index.php:
-------------------------------------------------------------------------
Código PHP:
<?php require_once('Connections/luis.php'); ?>
<?php
mysql_select_db($database_luis, $luis);
$query_noticiadetalle = "SELECT * FROM noticias WHERE noticias.estado='1'";
$noticiadetalle = mysql_query($query_noticiadetalle, $luis) or die(mysql_error());
$row_noticiadetalle = mysql_fetch_assoc($noticiadetalle);
$totalRows_noticiadetalle = mysql_num_rows($noticiadetalle);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>:: ComputerWeb ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">td img {display: block;}</style>
<!--Fireworks 8 Dreamweaver 8 target. Created Sat Oct 08 18:17:22 GMT-0500 2005-->
<link href="/css/CssS2003.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#ffffff">
<table width="737" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="fondo_computerweb.png" fwbase="index.gif" fwstyle="Dreamweaver" fwdocid = "1662507214" fwnested="0" -->
<tr>
<td width="248"><img src="imagenes/spacer.gif" width="248" height="1" border="0" alt="" /></td>
<td width="520"><img src="imagenes/spacer.gif" width="240" height="1" border="0" alt="" /></td>
<td width="249"><img src="imagenes/spacer.gif" width="249" height="1" border="0" alt="" /></td>
<td width="295"><img src="imagenes/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="3"><img name="index_r1_c1" src="imagenes/index_r1_c1.gif" width="737" height="11" border="0" id="index_r1_c1" alt="" /></td>
<td><img src="imagenes/spacer.gif" width="1" height="7" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="3" background="imagenes/index_r2_c1.gif"> </td>
<td><img src="imagenes/spacer.gif" width="1" height="40" border="0" alt="" /></td>
</tr>
<tr>
<td valign="top" background="imagenes/index_r3_c1.gif"><table width="246" height="370" border="0">
<tr>
<td colspan="9" rowspan="2" valign="top"><img src="/imagenes/logo.gif" width="224" height="107" border="0" /></td>
<td> </td>
</tr>
<tr>
<td height="55"> </td>
</tr>
<tr>
<td height="22" colspan="10" valign="top" class="cssv3-direcagenda"><a href="/1.php">ssss </a></td>
</tr>
<tr>
</tr>
<tr valign="top">
</tr>
<tr>
<td height="51"> </td>
</tr>
<tr valign="top">
<td height="112"><br /></td>
<td height="112"> </td>
<td height="112"> </td>
<td height="112"> </td>
<td height="112"> </td>
<td height="112"> </td>
<td height="112"> </td>
<td height="112"> </td>
<td height="112"> </td>
<td height="112"> </td>
</tr>
</table>
<div align="center"> </div></td>
<td colspan="2" valign="top" background="imagenes/index_r3_c2.gif"><table width="285" border="0">
<tr>
<td colspan="4" class="cssv3-direcagenda"><?php
if (Date("H") > 5 && Date("H")<14) $saludo = "Buenos días";
elseif (Date("H") > 13 && Date("H")< 20) $saludo = "Buenas tardes";
elseif (Date("H") > 19 && Date("H")<= 23) $saludo = "Buenas noches";
elseif (Date("H") >= 0 && Date("H")< 6) $saludo = "Buenas noches";
echo "$saludo, son las ".Date("H:i:s");
?></td>
</tr>
<tr>
<td height="19" colspan="3"> <img src="/imagenes/cabecera_noticia.gif" width="99" height="24" /></td>
<td width="184" height="19"> </td>
</tr>
<tr>
<td width="625" height="19"> </td>
<td width="232" height="19"> </td>
<td width="1" height="19"> </td>
<td width="184" height="19"> </td>
</tr>
<?php do { ?>
<tr>
<td height="21" colspan="2" class="cssv3-contnoti"><?php echo $row_noticiadetalle['titulo']; ?></td>
<td width="1"> </td>
<td rowspan="2" valign="top"><div align="center"><img src="../archivo/imagen/<?php echo $row_noticiadetalle['imagen']; ?>" width="129" height="111" border="0"></div></td>
</tr>
<tr>
<td colspan="3" valign="top" class="cssv3-01"><a href="notidetalle.php?id=<?php echo $row_noticiadetalle['id']; ?>"><?php echo $row_noticiadetalle['noticia']; ?></a><br /> </td>
</tr>
<?php } while ($row_noticiadetalle = mysql_fetch_assoc($noticiadetalle)); ?>
</table>
</td>
<td> </td>
</tr>
<tr>
<td colspan="3" valign="top" background="imagenes/index_r4_c1.gif"><div align="center" class="cssv3-resumennoti"><br />
© <strong>ComputerWeb.com Derechos Reservados <br />
</strong>Condiciones y Terminos <strong><br />
</strong></div></td>
<td><img src="imagenes/spacer.gif" width="1" height="51" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="3"><img name="index_r5_c1" src="imagenes/index_r5_c1.gif" width="737" height="1" border="0" id="index_r5_c1" alt="" /></td>
<td><img src="imagenes/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
</table>
</body>
</html>
<?php
mysql_free_result($noticiadetalle);
?>
-------------------------------------------------------------------------
Graciias por anticipad.. amigos...