Hallo Leute,
Warum ist das eine Leere Abfrage??
	
Grüße
Alfred
					Warum ist das eine Leere Abfrage??
PHP Code:
	
	
$sql_opt_query = tep_db_query ('
select p.products_id, p.products_model,
a.products_attributes_id, a.products_id, a.options_id, a.options_values_id, 
FORMAT(a.options_values_price,2) AS optprice, a.price_prefix, 
o.products_options_id, o.language_id, o.products_options_name, 
v.products_options_values_id, v.language_id, v.products_options_values_name 
                  from '.TABLE_PRODUCTS.' p
                  left join '.TABLE_PRODUCTS_ATTRIBUTES.' a on (p.products_id=a.products_id)
                  left join '.TABLE_PRODUCTS_OPTIONS.' o on (a.options_id=o.products_options_id)
                  left join '.TABLE_PRODUCTS_OPTIONS_VALUES.' v on (a.options_values_id=v.products_options_values_id)
                  where p.products_id=a.products_id and o.language_id=2 and v.language_id=2 order by p.products_id=a.products_id, o.products_options_id, o.products_options_name, v.products_options_values_name');
$rs_opt = mysql_query ( $sql_opt_query );
mysql_query( $rs_opt )or die( $FunctionName . ": SQL error " . mysql_error() . "| $rs_opt = " . htmlentities($rs_opt) ); 
Alfred
 
          
 Moderator
 Moderator [/COLOR]
 [/COLOR]
							
						
Comment