Commit de397a8d6555c1a0f2024a66eaeed2d955ea77c7

Authored by Geoffrey PREUD'HOMME
1 parent c5246861

Removed contact field as no longer in DB

Showing 1 changed file with 1 additions and 5 deletions   Show diff stats
@@ -14,7 +14,7 @@ try { @@ -14,7 +14,7 @@ try {
14 throw new Exception('Selection de la base de donnees impossible'); 14 throw new Exception('Selection de la base de donnees impossible');
15 } 15 }
16 mysql_query("SET NAMES 'utf8'"); 16 mysql_query("SET NAMES 'utf8'");
17 - $requete = "SELECT DISTINCT `nom`, `circonscription`, `adresse`, `enseignant`, `contact` FROM `school` ORDER BY nom ASC"; 17 + $requete = "SELECT DISTINCT `nom`, `circonscription`, `adresse`, `enseignant` FROM `school` ORDER BY nom ASC";
18 18
19 $resultat = mysql_query($requete); 19 $resultat = mysql_query($requete);
20 20
@@ -35,7 +35,6 @@ try { @@ -35,7 +35,6 @@ try {
35 <th>Contact</th> 35 <th>Contact</th>
36 <?php /* 36 <?php /*
37 <th>Enseignant</th> 37 <th>Enseignant</th>
38 - <th>Contact</th>  
39 */ ?> 38 */ ?>
40 </tr> 39 </tr>
41 </thead> 40 </thead>
@@ -58,9 +57,6 @@ try { @@ -58,9 +57,6 @@ try {
58 // echo '<td>'; 57 // echo '<td>';
59 // echo '<p>'.$row['enseignant'].'</p>'; 58 // echo '<p>'.$row['enseignant'].'</p>';
60 // echo '</td>'; 59 // echo '</td>';
61 - // echo '<td>';  
62 - // echo '<p>'.$row['contact'].'</p>';  
63 - // echo '</td>';  
64 echo '</tr>'; 60 echo '</tr>';
65 } 61 }
66 ?> 62 ?>