Re: [PHP] odd cookie behaviour

2001-04-07 Thread matt thompson
same results. certain items don't immediately show up in the cart until i add numerous other items. it's funny, because some items show up all the time, regardless of what order, etc. they're placed in the cart. very weird. thanks for your help though! "shaun" <[EMAIL PROTECTED]> wrote in me

Re: [PHP] odd cookie behaviour

2001-04-07 Thread shaun
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:10, matt thompson wrote: > hey, > > i'm designing a small shopping cart w/ cookies where the cookie is used as > an array (the array id being t

[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