View Single Post
  #63  
Old 08-02-2004, 01:39 PM
 
sarahnk sarahnk is offline
 

Advanced Member
  
Join Date: Jan 2004
Location: New York, NY
Posts: 58
 

Default

ok ... i figured it out...

i took out these lines which were causing errors because i wasn't using any other language.
Code:
if(is_array($product_links)){ foreach($product_links as $p_v => $p_k){ $int_res = ''; if(is_array($p_k)){ # # Check if product have product options # $product_links[$p_v][product_options] = array_pop(func_query_first("SELECT COUNT(*) FROM $sql_tbl[product_options] WHERE productid='".$p_k["productid"]."'")); # # Replace descr and fulldescr on international (if defined) # $int_res = func_query_first("SELECT * FROM $sql_tbl[products_lng] WHERE code='$store_language' AND productid='".$p_k['productid']."'"); if ($int_res["product"]){ $product_links[$p_v]["product"] = stripslashes($int_res["product"]); } if ($int_res["descr"]){ $product_links[$p_v]["descr"] = str_replace("\n"," ", stripslashes($int_res["descr"])); } if ($int_res["full_descr"]){ $product_links[$p_v]["fulldescr"] = str_replace("\n"," ", stripslashes($int_res["full_descr"])); } } } };
__________________
3rd site: 4.1.0 (currently working on)

2nd site: Version 4.0.12

X-Cart version 3.5.14
PHP 4.3.3 details
MySQL server 4.0.15
Reply With Quote