RE: Is it possible?

Japes <[email protected]> 13 Sep 2003 14:30:01 -0000
Newsgroups gmane.comp.web.oscommerce.installation
Message-ID <1fc8530cb9089bce7bc122d6c0f4288c@osCommerce-Forums>
This message was sent from: Installation and Configuration
http://forums.oscommerce.com/viewtopic.php?p=228879#228879
----------------------------------------------------------------

That's exactly the code I posted above, so I'm on track. This is good :)

Okay, so if you'll please indulge me, it should look something like the following?

[code]
 $description_query = tep_db_query("select language_id, products_name, products_description, more_info, products_url from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$products_id . "'");
            while ($description = tep_db_fetch_array($description_query)) {
              tep_db_query("insert into " . TABLE_PRODUCTS_DESCRIPTION . " (products_id, language_id, products_name, products_description, more_info, products_url, products_viewed) values ('" . (int)$dup_products_id . "', '" . (int)$description['language_id'] . "', '" . tep_db_input($description['products_name']) . "', '" . tep_db_input($description['products_description']) . "', '" . 
tep_db_input($description['more_info']) . "', '" . tep_db_input($description['products_url']) . "', '0')");
[/code]

Thanks again Matti. I appreciate your help and I'd be happy to return the favour.