function insertProp(Propiedad $p)
 {
     include_once '../conexion.php';
     include_once '../model.class/Propiedad.php';
     try {
         $insert = "INSERT INTO propiedad VALUES('" . $p->getCodigoPropiedad() . "', " . "'" . $p->getFoto() . "'," . $p->getPrecioUF() . ", " . "" . $p->getMetrosConstruidos() . "," . $p->getMetrosTotal() . ", " . "" . $p->getNumeroDormitorios() . "," . $p->getNumeroBanios() . ", " . "'" . $p->getTipoPropiedad() . "','" . $p->getComuna() . "','" . $p->getDescripcion() . "');";
         $query = mysql_query($insert);
         return $query;
     } catch (Exception $exc) {
         echo $exc->getTraceAsString();
     }
 }