peuge Posted April 4, 2008 Posted April 4, 2008 So I am using this funtion to get the manufacturers name: function tep_get_manufacturers_name($manufacturers_id) { global $languages_id; $manufacturer_query = tep_db_query("select manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . $manufacturers_id . "'"); $manufacturer = tep_db_fetch_array($manufacturer_query); return $manufacturer['manufacturers_name']; } And then I use this in index.php in my includes/languages/english: define('HEADING_TITLE', tep_get_manufacturers_name($current_manufacturers_id)); This does not work? I also have a function to get categorie names which works fine, but when I try this one (on its own just to see if it works) it does not work? Any help please?
peuge Posted April 4, 2008 Author Posted April 4, 2008 I had to use tep_get_manufacturers_name($HTTP_GET_VARS['manufacturers_id']) \ It worked.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.