I have a task calendar and a "Perform" tag
this is my code
<section id="form">
<form class="contact_form" ACTION="prueba.php" METHOD="POST">
<ul>
<li>
<h2>Calendario de Tareas</h2>
</li>
<?php
$sql="select Nombre from login where user_name ='$usuario' ";
$result= mysqli_query($conexion,$sql) or die(mysqli_error());
$user = $result->fetch_assoc()['Nombre'];
?>
<?php
/* Realizamos la consulta SQL */
$sql="select * from tareas where Auditor ='$user'";
$result= mysqli_query($conexion,$sql) or die(mysqli_error());
if(mysqli_num_rows($result)==0) die("No hay registros para mostrar");
echo "<table border=0 cellpadding=15 cellspacing=3>";
/*Priemro los encabezados*/
echo "<tr>
<th colspan=16 BGCOLOR='#BCC1C2' WIDTH='10%' face='Georgia' align='center'> Auditorias Programadas </th>
<tr BGCOLOR='#DADDDE'>
<th class='estilo1'> ID </th><th class='estilo1'> Auditor </th><th class='estilo1'> Auditoria </th>
<th class='estilo1'> Fecha Deseada </th><th class='estilo1'> Fecha limite </th><th class='estilo1'> Estado </th><th class='estilo1'> Realizar </th>
</tr>";
/*Y ahora todos los registros */
while($row=mysqli_fetch_array($result))
{
$id = $row["ID"];
$Auditor = $row["Auditor"];
$auditoria = $row["Auditoria"];
$Fdeseada = $row["Fdeseada"];
$Flimite = $row["Flimite"];
echo "<tr>
<td align='right' class='estilo1'> $id </td>
<td class='estilo1'> $Auditor </td>
<td class='estilo1'> $auditoria </td>
<input type='hidden' name='auditoria' value='".$auditoria."' />
<td class='estilo1'> $Fdeseada </td>
<td class='estilo1'> $Flimite </td>
<td class='estilo1'> $row[Estado] </td>
<td class='estilo1'><A HREF='prueba.php'> Realizar </A></td>
<input type='hidden' name='oculto' value='".$id."' />
</tr>";
}
echo "</table>";
?>
</form>
</section>
and I want to pass the id and audit selected to another page in php
page 2
<?php
$Operarios= $_GET['auditoria'];
$id = ['oculto'];
echo $Operarios;
echo $id;
?>