Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/01/2017, 11:17
infoturnosya
 
Fecha de Ingreso: diciembre-2015
Ubicación: rosario
Mensajes: 69
Antigüedad: 8 años, 5 meses
Puntos: 5
Respuesta: Imprimir una variable de otra clase

podes hacer esto

$obj = new Controlador;
$variable = $obj->getVariable(); --esta function la tenes q crear en conexion.php *
echo 'mi variable '.$variable;


* public function getVariable(){
return $this->Reporte;
}