[PHP] mysql resoc iterator

2009-10-31 Thread viraj
can somebody point me to a good article or a piece of code on implementing an iterator for a mysql result resource? actually this is for an oracle statement handle, all i want is to fetch the results as it is from a multi dimensional array. so i can use it in a for each with keys IteratorAggregat

Re: [PHP] RE: Help with my first recursion menu

2009-10-31 Thread Lex Braun
Hi, On Wed, Oct 28, 2009 at 5:22 PM, MEM wrote: > I've been told that stack is the way to go, so I'm trying to understand > the > following code: > http://pastebin.com/m5616c88f > I've commented every line so that any of you could see if I'm interpreting > something wrong: > > > I have two ques

RE: [PHP] RE: Help with my first recursion menu

2009-10-31 Thread MEM
From: Lex Braun [mailto:lex.br...@gmail.com] Sent: sábado, 31 de Outubro de 2009 14:05 To: MEM Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Help with my first recursion menu Hi, On Wed, Oct 28, 2009 at 5:22 PM, MEM wrote: I've been told that stack is the way to go, so I'm trying to un

[PHP] Two Parser Passes

2009-10-31 Thread Daniel Kolbo
Hello, Is it possible to get a list (array) of classes not found in a script before the fatal error exits the parser. I realize that PHP parses the script twice. It would be nice at the end of the first parsing pass to check to see which classes haven't been defined (yet), so that I could define

Re: [PHP] Two Parser Passes

2009-10-31 Thread Steve
Daniel Kolbo wrote: Hello, Is it possible to get a list (array) of classes not found in a script before the fatal error exits the parser. I realize that PHP parses the script twice. It would be nice at the end of the first parsing pass to check to see which classes haven't been defined (yet),

Re: [PHP] Two Parser Passes

2009-10-31 Thread Daniel Kolbo
Steve wrote: > Daniel Kolbo wrote: >> Hello, >> >> Is it possible to get a list (array) of classes not found in a script >> before the fatal error exits the parser. I realize that PHP parses the >> script twice. It would be nice at the end of the first parsing pass to >> check to see which classe