GIService 2 anni fa
parent
commit
3164efcd93
  1. 2
      last_version/index.php

2
last_version/index.php

@ -163,7 +163,7 @@ if ($_GET['client'] == 'BO') {
$_SESSION['COMUNE_PROV'] = ""; $_SESSION['COMUNE_PROV'] = "";
$rs_provincia = "SELECT provincia FROM public.comuni WHERE cod_belf = '" . $_SESSION['COMUNE_BELF'] . "'"; $rs_provincia = "SELECT provincia FROM public.comuni WHERE cod_belf = '" . $_SESSION['COMUNE_BELF'] . "'";
$result_prov = pg_query($conn, $rs_provincia) or die('Query failed0'); $result_prov = pg_query($conn, $rs_provincia) or die('Query failed1');
if (pg_num_rows($result_prov) > 0) { if (pg_num_rows($result_prov) > 0) {
while ($result_row = pg_fetch_assoc($result_prov)) { while ($result_row = pg_fetch_assoc($result_prov)) {
//$_SESSION['COMUNE_PROV'] = strtolower($result_row['provincia']); //$_SESSION['COMUNE_PROV'] = strtolower($result_row['provincia']);

Caricamento…
Annulla
Salva