Parse error, hvor?
Kan simpelthen ikke se hvor den fejl skulle være, har nok stirret mig blindt på det???function RtrnProdImages($prod_id){
$SQL = "SELECT id, img_titel, img_url FROM prod_images WHERE prodcat_id = '$prod_id'";
$mq = mysql_query($SQL) or die(mysql_error());
$count = mysql_num_rows($mq);
if($count > 0){
while ($row = mysql_fetch_assoc($mq)) {
$imageid = $row['img_id'];
$img_titel = $row['img_titel'];
$img_url = $row['img_url'];
$link = $row['link'];
echo '<div class="product>';
echo '<div class="prod_img">';
echo '<a href="'.$link.'">';
echo '<img src="'.$img_url.'" alt="'.$img_titel.'" title="'.$img_titel.'" width="100" />';
echo '</a>';
echo '</div>';
echo '</div>';
}
} else {
echo "<p>Ingen billeder fundet til denne side!</p>";
}
}
