LO HE ESTADO INTENTANDO PERO SIN ÉXITO MI CÓDIGO ES EL SIGUIENTE:
Código:
Y MI CÓDIGO DEL HREF ES ESTE: public function getBuscar() { try { $conBD = new ConexionBD(); $conBD->setConectar(); $cSQL = $conBD->getSQL("SELECT * FROM archivos WHERE ID=".$this->ID); if($datos=$conBD->getDatos($cSQL)) { $this->nombre = $datos["nombre"]; $this->reg_nom = $datos["reg_nom"]; $this->archivo = $datos["archivo"]; $this->fecha = $datos["fecha"]; return true; } else { $this->ID=0; return false; } } catch(Exception $ex) { throw new Exception($ex->getMessage()); } } public function getArchivo() {return $this->archivo;}
Código:
ESPERO QUE ME PUEDAN AYUDAR Y ME HALLA PODIDO EXPLICAR YO GRACIAS!!!!!! <a href="index.php?mod=reg&arch=1" onclick="window.open('<?php $this->arc;?>')">