--- In [email protected], "Marian Briones" <[EMAIL PROTECTED]> wrote:
>
> I'm trying to show a catalog and there are colors available for each
> product.  The query queries the color choice out of a table by the
> item's ID which is also in that table.  It then prints a line to show
> that.
> 
> The problem is, the next item, those variables aren't being cleared
> out so I see the last items color choices and then the current item's
> color choices appended to that list. 
> 
> I don't know how to handle this.  How do I clear a variable?
> 
> It's a concatonate variable $varname .= "COLOR";
> 
> HELP!  I'm never getting paid for this job!
>

You could assign it to empty quotes or just NULL? Or is this not what
you're looking for?

$varname = '';
   or
$varname = NULL;

Good luck,
-Nick

Reply via email to