1 2 3 4 5 6 7 8 9 10 11 12 13
| $paramclient_ligne = "cocobudange@aliceadsl.fr";
if (isset($_SESSION['MM_Username'])) {
$paramclient_ligne = $_SESSION['MM_Username'];
}
$paramarticle_ligne = "72";
if (isset($row_suivis['id'])) {
$paramarticle_ligne = $row_suivis['id'];
}
mysql_select_db($database_facevspile, $facevspile);
$query_ligne = sprintf("SELECT * FROM shop_ligne_commande,shop_panier WHERE shop_ligne_commande.client=%s and shop_ligne_commande.article=%s and shop_panier.client=%s and shop_panier.article=%s", GetSQLValueString($paramclient_ligne, "text"),GetSQLValueString($paramarticle_ligne, "int"),GetSQLValueString($paramclient_ligne, "text"),GetSQLValueString($paramarticle_ligne, "int"));
$ligne = mysql_query($query_ligne, $facevspile) or die(mysql_error());
$row_ligne = mysql_fetch_assoc($ligne);
$totalRows_ligne = mysql_num_rows($ligne); |
Partager