silverboy65 Posted July 16, 2010 Posted July 16, 2010 hi i have this code : if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { $sql = "select distinct p.products_date_added, p.products_id, p.products_image, p.products_model, p.products_img, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price, mnf.manufacturers_name, rvw.reviews_rating from " . TABLE_PRODUCTS . " p left join ".TABLE_SPECIALS." s on p.products_id = s.products_id left join ".TABLE_MANUFACTURERS." mnf on p.manufacturers_id = mnf.manufacturers_id left join ".TABLE_REVIEWS." rvw on p.products_id = rvw.products_id where p.products_status = '1' order by p.products_date_added desc limit ".MAX_DISPLAY_NEW_PRODUCTS; $new_products_query = tep_db_query($sql); now i want call a given from TABLE_PRODUCTS_DESCRIPTION in this code pd.products_url how i can do this ? thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.