Jump to content



Photo
- - - - -

syntax error, unexpected T_ENCAPSED_AND_WHITESPACE


This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1   pitune

pitune
  • Members
  • 18 posts

Posted 30 December 2006 - 17:07

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /admin/categories.php on line 504

got this error in categories
i have installet headertags in categories too and try to put Ultimate Images Pack! in it
soo think ist some thing to doo whit that....



here some off the code:

$description_query = tep_db_query("select language_id, products_name, products_description, products_head_title_tag, products_head_desc_tag, products_head_keywords_tag, products_url from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$products_id . "'");
while ($description = tep_db_fetch_array($description_query)) {
tep_db_query("insert into " . TABLE_PRODUCTS_DESCRIPTION . " (products_id, language_id, products_name, products_description, products_head_title_tag, products_head_desc_tag, products_head_keywords_tag, products_url, products_viewed) values ('" . (int)$dup_products_id . "', '" . (int)$description['language_id'] . "', '" . tep_db_input($description['products_name']) . "', '" . tep_db_input($description['products_description']) . "', '" . tep_db_input($description['products_head_title_tag']) . "', '" . tep_db_input($description['products_head_desc_tag']) . "', '" . tep_db_input($description['products_head_keywords_tag']) . "', '" . tep_db_input($description['products_url']) . "', tep_db_input($description['products_url']) . "', '0')");
}