Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pulling in Data from a table


Boidy

Recommended Posts

Posted

I've modified my products table to have an extra field called 'products_location'. A location as to where in the warehouse a product can be found is set in this field when adding or updating the catalog. On the packing slip, I wish the product location to be output next to the product. I've modified the order class slightly so that it pulls in the product_id with the order information, and I can display the product_id next to the product info on the packing slip.

 

My problem now is that when I try to read from the products table to get the products_location information, its returning a result of 'Resource ID #40' instead of the data contained within the field. Can someone tell me where I'm going wrong?

Archived

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

×
×
  • Create New...