filter working
This commit is contained in:
parent
74a5b5375b
commit
3e9da1451e
@ -55,6 +55,7 @@ if(isset($_GET['filter'])){
|
||||
<tr><th>Sélectionner</th><th>Nom</th><th>Vélos</th><th>Places Libres</th></tr>
|
||||
<?php
|
||||
foreach ($data as $key => $station){
|
||||
if ( ! $filter || isset($_GET[$key])){
|
||||
echo
|
||||
'<tr>
|
||||
<td><input type="checkbox" name="',$key,'"/></td>
|
||||
@ -65,6 +66,7 @@ if(isset($_GET['filter'])){
|
||||
<td>', $station['ABS'], '</td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php if ($filter) { ?>
|
||||
|
Loading…
Reference in New Issue
Block a user