Hi,

How can i destroy an array?
I mean i have a loop and for each new value in the loop i want to destroy the 
array. Something like that:

 while($row = mysql_fetch_array($result))
      {

          $product[] = $product_id;

         // some code here
     
     }

I've tried this but doesn't work

 while($row = mysql_fetch_array($result))
      {
          
          $product = array();

          $product[] = $product_id;

         // some code here
     
     }

Any help would be appreciated !!

Reply via email to