Ver Mensaje Individual
  #5 (permalink)  
Antiguo 04/04/2006, 20:03
patriciadedo
 
Fecha de Ingreso: marzo-2006
Mensajes: 86
Antigüedad: 18 años, 1 mes
Puntos: 0
Acá les paso consulta_noticias, que es donde pido la fecha_inicio y la fecha_fin, y después se va a Litsado_noticias_x_fecha, pero el tema es que no se como hago para que me pase los valores de inicio y fin SOCORROOOOO!!!!!!
Gracias desde ya por la onda que tienen todos...
Aca va consulta----

Cita:
<?php include("../conex.php"); ?>
<html>
<head>
<title>CONSULTA DE NOTICIAS POR FECHA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

<body leftmargin="0" topmargin="0">
<table width="100%" height="100%" border="0" cellpadding="8" cellspacing="0">
<tr bgcolor="#99CCCC">
<td height="50" colspan="2"><div align="center"><strong><font size="5"><em>CADENA
SER ARGENTINA</em></font></strong></div></td>
</tr>
<tr>
<td width="21%" valign="top" bgcolor="#99CCCC"> <table width="85%" height="157" border="1" align="left">
<tr>
<td bgcolor="#66CC99"><font size="3"><strong><em>NOTICIAS</em></strong></font></td>
</tr>
<tr>
<td bgcolor="#99CCCC"> <div align="center"><a href="alta_noticias.php">Agregar</a></div></td>
</tr>
<tr>
<td bgcolor="#99CCCC"> <div align="center"><a href="consulta_noticias.php">Consultar</a></div></td>
</tr>
<tr>
<td bgcolor="#66CC99"><font size="3"><strong><em>SECCIONES</em></strong></font></td>
</tr>
<tr>
<td bgcolor="#99CCCC"> <div align="center"><a href="alta_secciones.php">Agregar</a></div></td>
</tr>
<tr>
<td bgcolor="#99CCCC"> <div align="center"><a href="lista_secciones.php">Consultar</a></div></td>
</tr>
<tr>
<td bgcolor="#66CC99"><font size="3"><strong><em>AUTORES</em></strong></font></td>
</tr>
<tr>
<td bgcolor="#99CCCC"> <div align="center"><a href="alta_autor.php">Agregar</a></div></td>
</tr>
<tr>
<td bgcolor="#99CCCC"> <div align="center"><a href="lista_autor.php">Consultar</a></div></td>
</tr>
</table></td>
<td width="82%" valign="top"><p align="center"><strong><font size="4"><em>CONSULTA
DE NOTICIAS POR FECHA.</em></font></strong>
</p>
<p align="center"><a href="consulta_noticias.php">Volver</a> </p>
<form name="form1" method="post" action="">
<table width="70%" border="0" align="center">
<tr>
<td width="26%">Fecha desde:</td>
<td width="74%"><input type="text" name="fecha_inicio"></td>
</tr>
<tr>
<td>Fecha hasta:</td>
<td><input type="text" name="fecha_fin"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>
<?php
$fecha_inicio=$_POST['fecha_inicio'];
$fecha_fin=$_POST['fecha_fin'];
echo "<a href=lista_noticias_x_fecha.php?fecha_inicio=".$fe cha_inicio."&"."fecha_fin=".$fecha_fin."><b>LISTAD O</b></a>";
?>
</td>
</tr>
</table>
</form>

<p align="center">&nbsp;</p>
<br>
<p align="center">&nbsp;</p>

</p>
</td>
</tr>
</table>
<b></b>
</body>
</html>

este es listado-.....

Cita:
$fecha_inicio=$_POST['fecha_inicio'];
$fecha_fin=$_POST['fecha_fin'];
echo $fecha_inicio;
echo $fecha_fin;
__________________
:stress: Patri:corazon: