Re: [PHP] How to clear a populated array

2002-01-04 Thread Michael Sims
>>>I've got an array $Erros[] and I would like to be able to clear it >>>entirely. Is there any builtin function that acomplishes that? Why not: unset($Errors); ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: [PHP] How to clear a populated array

2002-01-04 Thread Miles Thompson
Carlos, Just redeclare the array $Erros = array(); Miles At 05:11 PM 1/4/2002 -0700, Carlos Fernando Scheidecker Antunes wrote: >Hello All, > >I have a populated array that stores user input errors. > >I have been browsing the manual and some books and I couldn't find one thing. > >I've go

Re: [PHP] How to clear a populated array

2002-01-04 Thread Carlos Fernando Scheidecker Antunes
Yeah Bogdan. I have thought so too, but I also found it quite intuitive and I thought there might be something easier. As usual you reply to my questions. And as usual I appreciate your help. Thanks again. regards, Carlos Fernando. Bogdan Stancescu wrote: >I don't know, does $Errors=array

Re: [PHP] How to clear a populated array

2002-01-04 Thread Bogdan Stancescu
I don't know, does $Errors=array() work for you? Hope I understood your problem... Bogdan Carlos Fernando Scheidecker Antunes wrote: > Hello All, > > I have a populated array that stores user input errors. > > I have been browsing the manual and some books and I couldn't find one > thing. > > I

[PHP] How to clear a populated array

2002-01-04 Thread Carlos Fernando Scheidecker Antunes
Hello All, I have a populated array that stores user input errors. I have been browsing the manual and some books and I couldn't find one thing. I've got an array $Erros[] and I would like to be able to clear it entirely. Is there any builtin function that acomplishes that? Thank you in adva