Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/06/2012, 07:15
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: Recargar página después de enviar formulario

Formas hay muchas pero si utilizas _redirect puedes pasar como segundo parámetro las opciones:

Código PHP:
Ver original
  1. $this->_redirect('/event/single', array('event' => $eventId, 'user' => $userId));

aunque personalmente haría algo así:

Código PHP:
Ver original
  1. $this->_helper->redirector->gotoSimpleAndExit('single', 'event', null, array('event' => $eventId, 'user' => $userId));
__________________
http://es.phptherightway.com/
thats us riders :)