Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error in SQL syntax


Guest

Recommended Posts

Posted

what does this mean? It appears in the catalog...you can see it here...

 

http://www.greekretreat.com/product_info.p...products_id=271

 

 

any help would be appreciated!

 

 

1064 - You have an error in your SQL syntax near 's Long Sleeve')' at line 1

 

insert into user_tracking (customer_id, full_name, session_id, ip_address, time_entry, time_last_click, last_page_url, page_desc) values ('', 'Guest', '4f83234e4639dedc492fe4e8b73789b3', '67.123.32.9', '1052957024', '1052957024', '/product_info.php?cPath=21_28&products_id=273', 'Men's Long Sleeve')

 

[TEP STOP]

Posted

My guess is the ' in Men's is ending the SQL query.

 

I believe you can:

 

#1 - change it from Men's to Mens

 

#2 - try putting a slash in front of the ', ex:

Men's

 

HTH..

Archived

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

×
×
  • Create New...