![Stress](http://static.forosdelweb.com/fdwtheme/images/smilies/stress.png)
Tira este error:MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
Código PHP:
$insert = $db->consulta("UPDATE usuarios SET (carreragen='$b[0]',universidad='$b[1]',facultad='$b[2]',director='$b[3]',afiliacion='$b[4]',nomasesor='$b[5]',gradacademico='$b[6]',email='$b[7]',tel='$b[8]',nombre1='$b[9]',matricula1='$b[10]',carrera1='$b[11]',semestre1='$b[12]',nombre2='$b[13]',matricula2='$b[14]',
carrera2='$b[15]',semestre2='$b[16]', nombre3='$b[17]',matricula3='$b[18]',carrera3='$b[19]',semestre3='$b[20]',nombre4='$b[21]',matricula4='$b[22]',carrera4='$b[23]',semestre4='$b[24]') WHERE codigo='$codigo_actualizar'");