Can someone please explain the tep_db_query() function format? In this code snippet:
$category_query = tep_db_query("select cd.categories_name, cd.categories_heading_title, cd.categories_description, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . $current_category_id . "' and cd.categories_id = '" . $current_category_id . "' and cd.language_id = '" . $languages_id . "'");
why are cd. and c. used instead of the full table names? Also, what about "cd where c.categories_id".
The cd. and the c. are supposed to be table names, but I can't find where they are defined no matter how much I search.
Please point me to a tutorial or ref man if you know of one also.
Bookmarks