Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SOS


AnnasAttic

Recommended Posts

I have added individural shipping price contributionv3.0

Just have redone the whole thing from start.

 

Getting this now and can't find the mistake!

 

Parse error: parse error, unexpected T_STRING in /var/hsphere/local/home/annasatt/annasattic.us/admin/categories.php on line 295

 

Please help and save my last shred of sanity :'(

 

tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model, /*changes indvship*/ products_ship_price, /*changes indvship2*/ products_ship_price_two, products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']). /*changes indvship*/ '" . $product['products_ship_price']. "', /*changes indvship2*/ '" . $product['products_ship_price_two']. "','" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), '" . tep_db_input($product['products_date_available']) . "', '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')");

$dup_products_id = tep_db_insert_id();

TIA

Link to comment
Share on other sites

I removed the comments try this line instead

tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model, products_ship_price, products_ship_price_two, products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . '" . $product['products_ship_price']. "','" . $product['products_ship_price_two'] . "','" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), '" . tep_db_input($product['products_date_available']) . "', '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')");

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...