Hola amigos, anteriormente Cluster me ayuda con un FOR :
for ($x=0; $x <= count($HTTP_POST_VARS['ids']) ; $x++)
{
$id = $HTTP_POST_VARS['ids'][$x];
$cali = $HTTP_POST_VARS['calificaciones'][$x]; ;
$sql="UPDATE alumnos SET calificacion=$cali Where ID=$id";
mysql_query($sql,$link);
}
mysql_query($sql);
mysql_close();
MI duda es cuando se corre el for sale el siguiente error:
Notice: Undefined offset: 2 in c:\archivos de programa\easyphp1-8\www\captura\guardar.php on line 10
ALGUIENPODRIA EXPLICARME PORQUE SALE ESTE ERROR Y COMO SE QUITA.
GRACIAS POR SU AYUDA