found my problem .. thank you for your help! You guy put me in the right
direction to solve this problem.
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tuesday 04 June 2002 00:52, James Kupernik wrote:
> > yes because I'm using it in another foreach, but this one doesn't want
> > work.
> > "Pierre-Alain Joye" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > On Mon, 3 Jun 2002 12:48:47 -0400
> > >
> > > "James Kupernik" <[EMAIL PROTECTED]> wrote:
> > > > and I'm getting this:
> > > > Warning: Invalid argument supplied for foreach()
> > > >
> > > > Why is that?
> > >
> > > are you sure $cart is an array ?
> print $cart; // would show 'Array' if array
> Are you trying to use this in a function? If so have you declared it
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> The first 90% of a project takes 90% of the time, the last 10% takes the
> other 90% of the time.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php