Shuey 0 Posted September 7, 2004 I have setup the dynamic metatags and when i look at the source code the description starts off with "Untitled Document". Is that normal? How can I get rid of it? Here is the source code for a product: <!-- begin dynamic meta tags query --><!-- end dynamic meta tags query --> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <!-- begin dynamic meta tags --> <title>Invenio Store: 01-SSC-BUND SonicWALL CSSA Training Bundle</title> <meta name="keywords" content="Invenio Store, SonicWALL CSSA Training Bundle, 01-SSC-BUND, SonicWALL"> <meta name="description" content=" Untitled Document Intended for a technical individual seeking CSSA certification and introduction to firewalls and SonicWALL configuration. This certification covers all SonicWALL firewall appliances. Bundle includes full package to prepare for exam: And here is the product_info.php: require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO); $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_check = tep_db_fetch_array($product_check_query); ?> <!-- begin dynamic meta tags query --> <?php $the_product_info_query = tep_db_query("select pd.language_id, p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'" . " and pd.language_id ='" . (int)$languages_id . "'"); $the_product_info = tep_db_fetch_array($the_product_info_query); $the_product_name = strip_tags ($the_product_info['products_name'], ""); $the_product_description = strip_tags ($the_product_info['products_description'], ""); $the_product_model = strip_tags ($the_product_info['products_model'], ""); ?> <?php $the_manufacturer_query = tep_db_query("select m.manufacturers_id, m.manufacturers_name from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on (m.manufacturers_id = mi.manufacturers_id and mi.languages_id = '" . (int)$languages_id . "'), " . TABLE_PRODUCTS . " p where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.manufacturers_id = m.manufacturers_id"); $the_manufacturers = tep_db_fetch_array($the_manufacturer_query); ?> <!-- end dynamic meta tags query --> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <!-- begin dynamic meta tags --> <title><?php echo TITLE ?>: <?php echo $the_product_model; ?> <?php echo $the_product_name; ?></title> <meta name="keywords" content="<?php echo TITLE ?>, <?php echo $the_product_name; ?>, <?php echo $the_product_model; ?>, <?php echo $the_manufacturers['manufacturers_name']; ?>"> <meta name="description" content="<?php echo $the_product_description . "," . $the_product_name; ?>"> <!-- end dynamic meta tags --> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> Many thanks, Shuey Share this post Link to post Share on other sites