|    
 Crew algemeen
 |  | Heb je code even aangepast: 
 
    
    
        
            
                <?php
$username="xxxxxx";
$password="xxxxxx";
$database="xxxxx";
mysql_connect('localhost', $username, $password);
@mysql_select_db($database);
$query="SELECT store_product_id, product_image,product_ref,(price_promo*1.19) AS totaalPrijs
FROM cms_store_products
WHERE is_recomended > 0 ";
$result=mysql_query($query) or die(mysql_error());
$numrows = mysql_num_rows($result);
while($row=mysql_fetch_array($result))
{
$store_product_id=$row["store_product_id"];
$product_image=$row["product_image"];
$totaalPrijs=$row["totaalPrijs"];
$totaalPrijs = round($totaalPrijs, 2);
$product_ref=$row["product_ref"];
$image_path=$row["product_image"]; <?php$username="xxxxxx";$password="xxxxxx";$database="xxxxx";$query="SELECT store_product_id, product_image,product_ref,(price_promo*1.19) AS totaalPrijsFROM cms_store_productsWHERE is_recomended > 0 ";{$store_product_id=$row["store_product_id"];$product_image=$row["product_image"];$totaalPrijs=$row["totaalPrijs"];$totaalPrijs = round($totaalPrijs, 2);$product_ref=$row["product_ref"];$image_path=$row["product_image"];
   Probeer het eens.
 Werkt het, vergelijk het met je eigen code en leer.
 
 Werkt het niet, geef de fouten eens
  |