That sux ive been working on it for like 4 hours now and im really pissed haha!
I gto this far:
http://www.devuurwerkhandel.nl/profe...rwerk-c-5.html
But it wont check the video linked to id, only the last video in the sql database table...
Code:
case 'PRODUCT_LIST_WEIGHT':
$lc_align = 'right';
mysql_connect("localhost","","");
mysql_select_db("");
// Make a MySQL Connection
// Construct our join query
$query3 = "SELECT products_description.products_id, product_extra_fields.video ".
"FROM products_description LEFT JOIN product_extra_fields ".
"ON products_description.products_id = product_extra_fields.products_id";
$result3 = mysql_query($query3) or die(mysql_error());
while($row = mysql_fetch_array($result3)){
$lc_text = '' . $listing->fields['products_id'] . ' heeft ' . $row['video'] . '';
}
break;
Bookmarks