<p>El siguiente listado muestra la cantidad de preguntas por cada test que se crea para un paso y la cantidad de preguntas que el estudiante necesita para aprobar el test. Si desea modificar algún dato utilice el botón editar de la fila correspondiente:</p> <table class="table table-striped table-hover "> <thead> <tr> <th>Nombre de la fase</th> <th>Nombre del paso</th> <th>Número de Preguntas por Test</th> <th>Número de Preguntas para aprobar test</th> <th>Editar</th> </tr> </thead> <tbody> <?php $result = $datadb->consultarTodasQuantities(); $num = mysql_numrows($result); $contador = 0; if ($num > 0) { while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { //consultando el nombre de la fase: $result_nom_fase = $datadb->getPhaseNameById($row['id_fase']); $name_phase = mysql_fetch_array($result_nom_fase, MYSQL_ASSOC); //Consultando el nombre del paso: $result_nom_paso = $datadb->getStepNameById($row['id_paso']); $name_paso = mysql_fetch_array($result_nom_paso, MYSQL_ASSOC); ?> <tr class="info"> <td><?php echo "" . $name_phase['nombre_fase'];