RE: Qty box bug

Ajeh <[email protected]>
Newsgroups gmane.comp.web.oscommerce.devel
Message-ID <2d5985b308021d8d46207107368e3d68@osCommerce-Forums>
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=154949#154949
----------------------------------------------------------------

This will drop trailing characters ... 

Example: 1rt5 is 1
Note: rt1t5 is 0 and vanishes

[code]                                  $cart->add_cart($HTTP_POST_VARS['products_id'][$i], (int)$HTTP_POST_VARS['cart_quantity'][$i], $attributes, false);
[/code]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.