source: pmb4.2/trunk/fuentes/pmb/admin/param/param_modif.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 5 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 802 bytes
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: param_modif.inc.php,v 1.9 2015-04-03 11:16:28 jpermanne Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9$requete = "SELECT * FROM parametres WHERE id_param='$id_param' and gestion=0 ";
10$res = pmb_mysql_query($requete, $dbh);
11$nbr = pmb_mysql_num_rows($res);
12
13$param_default="<tr><td colspan='2' align='left'><hr />".$param_user."<hr />".$deflt_user."</td></tr>";
14if($nbr) {
15        $params=pmb_mysql_fetch_object($res);
16        param_form(     $params->id_param,
17                                $params->type_param,
18                                $params->sstype_param,
19                                $params->valeur_param,
20                                $params->comment_param  );
21        }
Note: See TracBrowser for help on using the repository browser.