如何将变量整合到选择条件中

时间:2019-05-23 01:54:05

标签: php mysql

通过php和mysql等途径获取信息,并在客户端上进行详细信息访问,并以部分密码登录并通过密码访问代理信息si login_client = une_varible_recuperer

选择必要条件,在其中条件不构成“?” et puis l'executer mais cela ne marche pas ....

$reponse = $bdd->prepare('SELECT c.Nom_client, a.Date_achat, a.Montant, a.TR, a.MT_paye FROM client c INNER JOIN achat a ON c.Id_client=a.Id_client' WHERE c.Nom_client=? AND c.password=?');
$reponse->bind_param(($_GET['login'],($_GET['motdepasse']);
$reponse->execute();

0 个答案:

没有答案