Jump to content

Archived

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

dragonusthei

What the???

Recommended Posts

Im having a really hard time with a problem.

I want my shopping cart to check if the items added to cart is greater than those currently in stock i ran the query in phpadmin to see why it wasnt working but


[img]http://img237.imageshack.us/img237/7674/phpweirdny2.jpg[/img]

Share this post


Link to post
Share on other sites
his query returned a record where the stock was greter than the number requested!

acoding to his pic anyway!

Share this post


Link to post
Share on other sites
Odd, as the same image says showing rows 0 to 0

Hmmmm, Interesting!  If you want to provide a sql dump of the table I'll load it into my version of phpMyAdmin and see if I get the same results.

Regards
Huggie

Share this post


Link to post
Share on other sites
What field types are item_qty and item_stock?

Share this post


Link to post
Share on other sites

×

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.