Ejemplo n.º 1
0
 function forzardelete($Code)
 {
     $parametros = array();
     $parametros['CountryCode'] = $Code;
     $gestor = new ManageCity($this->bd);
     $gestor->deleteCity($parametros);
     $this->bd->delete("countryLanguage", $parametros);
     $parametros = array();
     $parametros['Code'] = $Code;
     return $this->bd->delete($this->tabla, $parametros);
 }
Ejemplo n.º 2
0
<?php

require '../clases/AutoCarga.php';
$bd = new BaseDatos();
$gestor = new ManageCity($bd);
$id = Request::get("ID");
$r = $gestor->deleteCity($id);
//var_dump($bd->getError());
$bd->close();
header("Location: index.php?op=delete&r={$r}");