Guest Posted January 18, 2006 Posted January 18, 2006 is it possible to insert a "description" for the manufacturers, much like the categories have? (if you're using header tags controller.. i can't remember whether or not default osc has it)
Guest Posted January 18, 2006 Posted January 18, 2006 figured it out :) can anyone tell me if this is sloppy coding? is there a quicker/more server efficient way i can call this? at present, i use: $the_manufacturers_query= tep_db_query("select manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $the_manufacturers = tep_db_fetch_array($the_manufacturers_query); to post the name of the manufacturer. in manufacturers_info, i use: $the_manufacturers_desc_query= tep_db_query("select manufacturers_url from " . TABLE_MANUFACTURERS_INFO . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $the_manufacturers_desc = tep_db_fetch_array($the_manufacturers_desc_query); to post the manufacturer description. (i don't use the url function, so i figured i'd put it to use ;) )
Recommended Posts
Archived
This topic is now archived and is closed to further replies.