Skip to content
Browse files

cambios2

  • Loading branch information...
1 parent 51201e2 commit 8f91101f53d48ce2000b3ec0ee8c2fad87fd97dc @alehuelva committed
Showing with 12 additions and 6 deletions.
  1. +12 −6 MistakesBundle/pruebas/checking.php
View
18 MistakesBundle/pruebas/checking.php
@@ -3,8 +3,13 @@
$xmlprojects = loadprojects();
$xmlerrors = loaderrors(10);
-resetErrors();
-seterrors();
+resetErrors($xmlprojects);
+setErrors($xmlerrors);
+setProjectname($xmlprojects);
+$tempproj= getProjectname();
+$temperror= getErrors();
+
+
echo '<table border="1">
<tr>
@@ -13,13 +18,14 @@
<th>cont</th>
</tr>';
-foreach($projects as $proj => $cont){
+foreach($temperror as $proj => $cont){
echo '<tr>
- <td>' . $projectsname[(int)$proj] . '</td>
+ <td>' . $tempproj[(int)$proj] . '</td>
<td>' . $proj . '</td>
<td>' . $cont . '</td>
</tr>';
-}
-}
+}
+echo '</table>';
+

0 comments on commit 8f91101

Please sign in to comment.
Something went wrong with that request. Please try again.