17 lines
279 B
PHP
17 lines
279 B
PHP
<?php
|
|
|
|
include ('../inc/includes.php');
|
|
|
|
|
|
function updateProductPic($imglink,$codeart){
|
|
|
|
global $DB;
|
|
|
|
$query = "UPDATE `Produit` SET `imgpath`= ? where `ART_CODE`= ?";
|
|
$stmt = $DB->prepare($query);
|
|
|
|
$stmt->bind_param("si" , $imglink,$codeart);
|
|
|
|
$stmt->execute();
|
|
|
|
} |