source: spip-zone/_plugins_/forms/forms_et_tables_2_5/exec/donnees_tous.php @ 65963

Last change on this file since 65963 was 65963, checked in by sblanc@…, 9 years ago
File size: 523 bytes
Line 
1<?php
2/*
3 * forms
4 * Gestion de formulaires editables dynamiques
5 *
6 * Auteurs :
7 * Antoine Pitrou
8 * Cedric Morin
9 * Renato
10 * © 2005,2006 - Distribue sous licence GNU/GPL
11 *
12 */
13
14include_spip('inc/forms_tables_affichage');
15function exec_donnees_tous(){
16        $res = spip_query("SELECT type_form FROM spip_forms WHERE id_form="._q(_request('id_form')));
17        if (!$row = spip_fetch_array($res)) die ('erreur formulaire inexistant');
18        $type_form = $row['type_form'];
19        echo affichage_donnees_tous($type_form?$type_form:'form');
20}
21
22?>
Note: See TracBrowser for help on using the repository browser.