include 'ouverture-base.php';
$MCHEN_08_brut_promo = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo!=0 AND Famille='MCHEN-08' AND finition_brut='Oui' ORDER BY `Tarif2_HT_promo` ASC",$connexion);
$EXOTIC_brut_promo = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo!=0 AND Famille='EXOTIC' AND finition_brut='Oui' ORDER BY `Tarif2_HT_promo` ASC",$connexion);
$MCHEN_08_promo = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo!=0 AND Famille='MCHEN-08' AND finition_brut!='Oui' ORDER BY `Tarif2_HT_promo` ASC",$connexion);
$EXOTIC_promo = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo!=0 AND Famille='EXOTIC' AND finition_brut!='Oui' ORDER BY `Tarif2_HT_promo` ASC",$connexion);
$BAMBOU_promo = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo!=0 AND Famille='BAMBOU' ORDER BY `Tarif2_HT_promo` ASC",$connexion);
$MCHEN_08_brut = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo=0 AND Famille='MCHEN-08' AND finition_brut='Oui' ORDER BY `Tarif_base_HT` ASC",$connexion);
$EXOTIC_brut = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo=0 AND Famille='EXOTIC' AND finition_brut='Oui' ORDER BY `Tarif_base_HT` ASC",$connexion);
$MCHEN_08 = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo=0 AND Famille='MCHEN-08' AND finition_brut!='Oui' ORDER BY `Tarif_base_HT` ASC",$connexion);
$EXOTIC = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo=0 AND Famille='EXOTIC' AND finition_brut!='Oui' ORDER BY `Tarif_base_HT` ASC",$connexion);
$BAMBOU = mysql_query("SELECT * from parquet WHERE Tarif2_HT_promo=0 AND Famille='BAMBOU' ORDER BY `Tarif_base_HT` ASC",$connexion);
?>
PARQUET MASSIF, Parquet Massif pose et mise en place
//On interroge la base de données
function affiche_produit($produit, $type)
{
include 'include-affiche-produit.php';
}
$pas_fini=true;
for ($j=0;$pas_fini;$j++)
{
$pas_fini=false;
$produit = mysql_fetch_array($MCHEN_08_promo);
if ($produit!=false)
{
affiche_produit($produit,0);
$pas_fini=true;
?>