Hi,I have a problem of my shopping cart script,my server indicate the error in this line: $produit = $result->fetch_assoc();error: Fatal error: Call to a member function fetch_assoc() on a non-object in C:wampserver32wwwsaleajout_panier.php on line 7je d'ont know how to solve it,anyone can help me please ?<?phpsession_start();$mysql = new mysqli('localhost', 'root', '', 'testebase');$result = $mysql->query('SELECT * FROM trybase WHERE name= '.$_POST['name']);$produit = $result->fetch_assoc();require_once 'panier.php';$valeur = array('name'=>$produit['name'],'price'=>$produit['price'],'quantity'=>$_POST['quantity']);$panier->set($_POST['name'], $valeur);header('location: votre_panier.php');?>