I pass the value as follows:
<td><a href="liberar.php?id='.$row["id"].'">Finalizar</a> </td>
And the URL arrives in this way:
000.000.00.00/bitacora/liberar.php?id=11
id = 11 is value that I want to recover
To recover the id in (liberate.php) I have the following:
include("database.php");
$folio = $_GET['id'];
echo("Soy folio", $folio);
$id = 0;
$db = new database();
$id = $db->finalizaActividad($folio);
?>
Later that folio sent it to a query called finalizactivity