source:
trunk/web/app/mods/e_rechercher.php
@
10
Last change on this file since 10 was 6, checked in by dj3c1t, 13 years ago | |
---|---|
File size: 389 bytes |
Rev | Line | |
---|---|---|
[6] | 1 | <?php |
2 | ||
3 | function e_rechercher($env) | |
4 | { if($_POST["match"]) | |
5 | { if(($env->out["licences"] = $env->data->licences()) !== false) | |
6 | { if(($env->out["results"] = $env->data->search($_POST["match"])) !== false) | |
7 | { | |
8 | } | |
9 | else $env->erreur = "Impossible de faire la recherche"; | |
10 | } | |
11 | else $env->erreur = "Impossible de lire la liste des licences"; | |
12 | } | |
13 | } | |
14 | ||
15 | ?> |
Note: See TracBrowser
for help on using the repository browser.