Isn't it $foo instead of $daffy ? It seems to be a "cut/past" error.
BobiOne KenoBi ;)
In reply to Re: Re: Multiple SQL statements by bobione in thread Multiple SQL statements by tonyday