Gracias mi problema es el siguiente tengo este codigo:
Código PHP:
Ver original<html>
<style type="text/css">
<!--
body {
font-family: "Trebuchet MS", Tahoma, Verdana;
font-size: 20px;
font-weight: normal;
color: #0033CC;
text-decoration: none;
padding: 12px;
}
h4 {
color: #CC0000;
}
-->
</style>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Reportes</title>
</head>
<body>
<form name="form1" method="post" action="">
<h4>Ingrese su nombre
<input name="id" type="text" id="id">
</h4>
<p>
<input type="submit" name="Submit" value="buscar">
</p>
<?php
//realizar y verificar conexion
include('acceso_db.php');
or
die("NO se pudo realizar la conexión");//si la conexion es exitosa se realiza una consulta si se encuntra el dato a buscar
$id=$_POST['id'];
$result = mysql_query("SELECT * FROM reporte_tiempos WHERE ingeniero='$id'", $link); //imprimir el dato a buscar
echo "<table border = '1'> \n";
echo "<tr> \n";
echo "<td><b>Tarea</b></td> \n";
echo "<td><b>Requisito</b></td> \n";
echo "<td><b>Fase</b></td> \n";
echo "<td><b>Descripccion de su tarea</b></td> \n";
echo "<td><b>Ingeniero</b></td> \n";
echo "<td><b>Fecha de realizacion de la actividad</b></td> \n";
echo "<td><b>Fecha de realizacion del reporte</b></td> \n";
echo "<td><b>Descripccion de reporte</b></td> \n";
echo "<td><b>Actividad reportada</b></td> \n";
echo "<td><b>Horas empleadas</b></td> \n";
echo "<td><b>Horas estimadas</b></td> \n";
echo "</tr> \n";
echo "<tr> \n";
echo "<td>$row[0]</td> \n";
echo "<td>$row[1]</td> \n";
echo "<td>$row[2]</td> \n";
echo "<td>$row[3]</td> \n";
echo "<td>$row[5]</td> \n";
echo "<td>$row[2]</td> \n";
echo "<td>$row[6]</td> \n";
echo "<td>$row[7]</td> \n";
echo "<td>$row[8]</td> \n";
echo "<td>$row[9]</td> \n";
echo "<td>$row[10]</td> \n";
echo "</tr> \n";
}
echo "</table> \n";
?>
</form>
</body>
</html>
Necesito filtrarlo por combobox el:Ingeniero,Tarea, Fecha de realización de la actividad
y al seleccionar esos 3 campos realice la consulta y me muestre donde coincida esos 3 campos me muestre en pantalla y luego me cree un documento en excel con esa consultas QUEDARÍA INMENSAMENTE AGRADECIDO
// QUE CONSULTE ME MUESTRE LO QUE COINCIDA CON ESA TAREA GRACIAS //