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
pages/schools.php
... ... @@ -14,7 +14,7 @@ try {
14 14 throw new Exception('Selection de la base de donnees impossible');
15 15 }
16 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 19 $resultat = mysql_query($requete);
20 20  
... ... @@ -35,7 +35,6 @@ try {
35 35 <th>Contact</th>
36 36 <?php /*
37 37 <th>Enseignant</th>
38   - <th>Contact</th>
39 38 */ ?>
40 39 </tr>
41 40 </thead>
... ... @@ -58,9 +57,6 @@ try {
58 57 // echo '<td>';
59 58 // echo '<p>'.$row['enseignant'].'</p>';
60 59 // echo '</td>';
61   - // echo '<td>';
62   - // echo '<p>'.$row['contact'].'</p>';
63   - // echo '</td>';
64 60 echo '</tr>';
65 61 }
66 62 ?>
... ...