I want to show as options the result of this query to later use them.
$qsucursal = oci_parse($conn, 'SELECT Id_Sucursal, Sucursal FROM TblSucursales;'); //Consulta
oci_execute($qsucursal);//Ejecutando consulta
I go through the results and put them in an input, but it does not work.
while(($fila= oci_fetch_array($qsucursal, OCI_BOTH)) != false)
{
echo '<input type="checkbox" name="'.$fila["Id_Sucursal"].'" value="'.$fila["Sucursal"]'">';
}