Ver Mensaje Individual
  #7 (permalink)  
Antiguo 14/08/2008, 11:59
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 9 meses
Puntos: 2135
Respuesta: llamar 2 archivos al hacer submit

En ese caso solo necesitas hacer un Select a esa base de datos, por ejemplo:
Código:
SELECT COUNT(*) as 'mensajes' FROM solicitudes WHERE usuario='x' AND nuevo=1
Saludos.