jpl225 Posted September 3, 2009 Share Posted September 3, 2009 Hi! I have a very weard problem in my "shopping cart" application. When I go there and add an item in the shopping cart the php code will add 2 items at the same time. But when I clear my shopping cart and add again an item in the shopping cart the php code will add only 1 item (and that is what I want). I have looked my code over and over again and cannot see the problem. Can anybody help me? My shopping cart application is in here: http://www.lahetyskurssi.info/Sukellusmaailma/kauppa/html/index.php It is in finnish, but you can demo it easily: lisaa koriin = add to cart kauppaan = to the store nayta kori = view cart tyhjenna kori = clear cart Jyri Link to comment https://forums.phpfreaks.com/topic/172957-weard-problem/ Share on other sites More sharing options...
waynew Posted September 3, 2009 Share Posted September 3, 2009 Can you show the html that allows you to add an item and the code that actually adds it? Link to comment https://forums.phpfreaks.com/topic/172957-weard-problem/#findComment-911568 Share on other sites More sharing options...
waynew Posted September 3, 2009 Share Posted September 3, 2009 I added an item and it only added one? Link to comment https://forums.phpfreaks.com/topic/172957-weard-problem/#findComment-911569 Share on other sites More sharing options...
TeNDoLLA Posted September 3, 2009 Share Posted September 3, 2009 I tested it and it adds always just one item to the cart? Link to comment https://forums.phpfreaks.com/topic/172957-weard-problem/#findComment-911570 Share on other sites More sharing options...
jpl225 Posted September 3, 2009 Author Share Posted September 3, 2009 OK. Thank you for testing. It seems to be Firefox problem, cause now I have tested it with Opera, IE and Safari and all those works allright, but if I close my FF and then go to those pages, I got the same error! But because I made this only as my school project, I can live with that :-) - I just use IE, Opera or Safari Jyri Link to comment https://forums.phpfreaks.com/topic/172957-weard-problem/#findComment-911583 Share on other sites More sharing options...
waynew Posted September 3, 2009 Share Posted September 3, 2009 I'm using FF and it worked.... Link to comment https://forums.phpfreaks.com/topic/172957-weard-problem/#findComment-911585 Share on other sites More sharing options...
TeNDoLLA Posted September 3, 2009 Share Posted September 3, 2009 I'm using FF and it worked.... Same here... Link to comment https://forums.phpfreaks.com/topic/172957-weard-problem/#findComment-911730 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.