Ver Mensaje Individual
  #9 (permalink)  
Antiguo 10/08/2011, 19:49
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses
Puntos: 2135
Respuesta: Error con SESSION -MYSQL

Si ya estan usando sprintf porque no lo usan bien?

Código PHP:
Ver original
  1. $query = sprintf("SELECT * FROM alumnos WHERE rfcalumno='%s'", $_SESSION['rfcalumno']);

Saludos.