Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
legi
soft
gestex
Commits
e8faf071
Commit
e8faf071
authored
Sep 29, 2020
by
Gabriel Moreau
Browse files
Forget end of line ;
parent
27641bee
Changes
1
Hide whitespace changes
Inline
Side-by-side
module/db-functions.php
View file @
e8faf071
...
...
@@ -162,7 +162,7 @@ function get_equipment_listshort($pdo) {
// ---------------------------------------------------------------------
function
set_equipment_new
(
$pdo
,
$categorie
,
$nom
,
$modele
,
$gamme
,
$equipe
,
$fourn
,
$achat
,
$tech
,
$reparation
,
$accessoires
,
$inventaire
,
$notice
,
$barcode
,
$loanable
)
{
$sql
=
'INSERT INTO Listing (categorie, nom, modele, gamme, equipe, fournisseur, achat, responsable, reparation, accessoires, inventaire, notice, barcode, loanable)'
$sql
=
'INSERT INTO Listing (categorie, nom, modele, gamme, equipe, fournisseur, achat, responsable, reparation, accessoires, inventaire, notice, barcode, loanable)'
;
$sql
.
=
' VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);'
;
$stmt
=
$pdo
->
prepare
(
$sql
);
$stmt
->
execute
(
array
(
$categorie
,
$nom
,
$modele
,
$gamme
,
$equipe
,
$fourn
,
$achat
,
$tech
,
$reparation
,
$accessoires
,
$inventaire
,
$notice
,
$barcode
,
$loanable
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment