Guest Posted April 1, 2008 Posted April 1, 2008 hello! i have tried and tried, but i can't get this to work. i am trying to get model names to show just after the product name in the "upcoming products" list at the bottom of the front page of the store. i thought this would work (upcoming_products.php): '">' . $expected['products_name'] . '<br>' . $expected['products_model'] . '</a> </td>' . "\n" . but, it didn't :blink: i have no php programming experience but was trying to help myself before asking. does anyone know what i'm doing wrong?
Guest Posted April 1, 2008 Posted April 1, 2008 hello! i have tried and tried, but i can't get this to work. i am trying to get model names to show just after the product name in the "upcoming products" list at the bottom of the front page of the store. i thought this would work (upcoming_products.php): '">' . $expected['products_name'] . '<br>' . $expected['products_model'] . '</a> </td>' . "\n" . but, it didn't :blink: i have no php programming experience but was trying to help myself before asking. does anyone know what i'm doing wrong? well, i figured it out on my own, amazingly enough. for anyone who wants to know: around line 13... $expected_query = tep_db_query("select p.products_id, pd.products_name, products_model, products_date_available as date_expected from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where to_days(products_date_available) >= to_days(now()) and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by " . EXPECTED_PRODUCTS_FIELD . " " . EXPECTED_PRODUCTS_SORT . " limit " . MAX_DISPLAY_UPCOMING_PRODUCTS); :lol:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.