Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/06/2015, 15:22
keivis
 
Fecha de Ingreso: julio-2013
Mensajes: 123
Antigüedad: 10 años, 9 meses
Puntos: 1
Respuesta: Problemas con sesion de usuario

Lo tengo así
Código PHP:
Ver original
  1. <?php echo '<strong>'.htmlentities($_SESSION['profesion']).' '.htmlentities($_SESSION['apellido']).' '.htmlentities($_SESSION['nombre']).'</strong>';?> <

Lo coloco al momento de insertar así pero me da error

Código PHP:
Ver original
  1. $sql = "INSERT INTO reg_paciente values('$ce_paciente','$ape_paciente','$nom_paciente','$edad_paciente','$sexo_paciente','$diag_paciente','$fec_con_paciente','$hora','$paciente_status','$observacion_paciente','$_SESSION['usuario']')";

Agradezco tu ayuda.