Re: [PHP] odd cookie behaviour

2001-04-07 Thread matt thompson
;[EMAIL PROTECTED]> wrote in message 01040720420304.01567@box">news:01040720420304.01567@box... > I think you might wanna check if $cookie is set, not $cookie[0], if that > doesn't work just check if $cookie[0] = 0 > > -Shaun > > On Saturday 07 April 2001 21:1

[PHP] odd cookie behaviour

2001-04-07 Thread matt thompson
hey, i'm designing a small shopping cart w/ cookies where the cookie is used as an array (the array id being the product id) and the array value being the number of items selected. anyways, for the most part everything works fine, but with certain items if they're added to the cart, they get add