Orbixx Posted July 8, 2008 Share Posted July 8, 2008 Hi, Just a bit confused as to Harold's tep_db functions... How would one select a single value from a database table? I currently have something like: $manufacturer_name_query = tep_db_query("select manufacturers_name from manufacturers where manufacturers_id = '" . $HTTP_GET_VARS['manufacturers_id'] . "'"); $manu_name = tep_db_fetch_array($manufacturer_name_query); $value = $manu_name['0']; But it doesn't seem to be working. I'm quite confused. Could someone provide me with the correct code? Thanks. Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.