Jump to content

check and update


techker

Recommended Posts

hey guys how would i be able to take a table and check in anoter table if it is there ..if not put like (o) if it is (1)..

 

this checks the DB for the product

 

SELECT TbItemInventory.Name, xcart_products.productcode, TbItemInventory.QuantityOnHand, xcart_products.avail,xcart_products.productid,TbItemInventory.ID,TbItemInventory.xcart
FROM TbItemInventory, xcart_products
WHERE (
TbItemInventory.Name = xcart_products.productcode
)

Link to comment
https://forums.phpfreaks.com/topic/215244-check-and-update/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.