Codes here !
1 post • Page 1 of 1
please debug it. check if $Code_curso, $Cod_ano, $Cod_disc, and $Cod_modulo has a value. Then, check whether the sql within each "if" is picking the right records. if the third select does not have a value means that $Cod_disc does not have even one record for the while loop to execute...please check.