Subversion Repositories Applications.papyrus

Rev

Rev 1298 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1298 Rev 1433
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: bazar.inscription.inc.php,v 1.6 2007-04-11 08:30:12 neiluj Exp $
22
// CVS : $Id: bazar.inscription.inc.php,v 1.7 2007-06-01 13:51:09 alexandre_tb Exp $
23
/**
23
/**
24
* 
24
* 
25
*@package bazar
25
*@package bazar
26
//Auteur original :
26
//Auteur original :
27
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
27
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
28
*@author        Florian Schmitt <florian@ecole-et-nature.org>
28
*@author        Florian Schmitt <florian@ecole-et-nature.org>
29
//Autres auteurs :
29
//Autres auteurs :
30
*@copyright     Tela-Botanica 2000-2005
30
*@copyright     Tela-Botanica 2000-2005
31
*@version       $Revision: 1.6 $
31
*@version       $Revision: 1.7 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
Line 46... Line 46...
46
 
46
 
Line 47... Line 47...
47
$requete = 'INSERT INTO bazar_droits VALUES '.$SQL;
47
$requete = 'INSERT INTO bazar_droits VALUES '.$SQL;
48
 
48
 
49
$resultat = $GLOBALS['ins_db']->query($requete);
49
$resultat = $GLOBALS['ins_db']->query($requete);
50
if (DB::isError($resultat)) {
50
if (DB::isError($resultat)) {
51
	echo ($resultat->getMessage().$resultat->getDebugInfo()) ;
51
	$msg = $resultat->getMessage().$resultat->getDebugInfo() ;
Line 52... Line 52...
52
}
52
}
53
unset($resultat) ;
53
unset($resultat) ;
54
 
54
 
-
 
55
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
56
*
-
 
57
* $Log: not supported by cvs2svn $
55
/* +--Fin du code ----------------------------------------------------------------------------------------+
58
* Revision 1.6  2007/04/11 08:30:12  neiluj
56
*
59
* remise en état du CVS...
57
* $Log: not supported by cvs2svn $
60
*
58
* Revision 1.4.2.1  2007/03/07 16:50:42  jp_milcent
61
* Revision 1.4.2.1  2007/03/07 16:50:42  jp_milcent
59
* Mise en majuscule des mots réservés par SQL
62
* Mise en majuscule des mots réservés par SQL