[PHP] Re: array recursion from database rows

2008-05-24 Thread Chris W
Bob wrote: Hi. I have a database table I have created for navigation. The table fields are uid, parent_id, menu_name. Each entry is either a top level element with a parent_id of 0 or a child which has a parent_id that relates to the parent uid. What I am trying to do is recurse through a set

Re: [PHP] array recursion from database rows

2008-05-24 Thread Bastien Koert
On 5/24/08, Bob <[EMAIL PROTECTED]> wrote: > > Hi. > > I have a database table I have created for navigation. > > The table fields are uid, parent_id, menu_name. > > Each entry is either a top level element with a parent_id of 0 or a child > which has a parent_id that relates to the parent uid. > >

Re: [PHP] which costs more ?

2008-05-24 Thread Feris
Hi Larry, On Sat, May 24, 2008 at 11:54 AM, Larry Garfield <[EMAIL PROTECTED]> wrote: > I'm assuming this was intended for the list, not for me directly. Grumble > grumble. I'm sorry for replying you privately, it is my gmail's default :( > If you want to pull in data from Google web service

Re: [PHP] which costs more ?

2008-05-24 Thread Larry Garfield
I'm assuming this was intended for the list, not for me directly. Grumble grumble. If you want to pull in data from Google web services, then either 1) You always want the newest version and you just have to eat the cost; 2) You don't always need the newest version and you can cache it locally

[PHP] array recursion from database rows

2008-05-24 Thread Bob
Hi. I have a database table I have created for navigation. The table fields are uid, parent_id, menu_name. Each entry is either a top level element with a parent_id of 0 or a child which has a parent_id that relates to the parent uid. What I am trying to do is recurse through a set of rows addi

Re: [PHP] echo returnArray()['a']; // workaround

2008-05-24 Thread Nitsan Bin-Nun
Nice trick, I will remember this one. Thanks for sharing, Nitsan On 23/05/2008, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > On Fri, Feb 29, 2008 at 12:16 AM, Nathan Nobbe <[EMAIL PROTECTED]> > wrote: > > > wow, im going to have to stare at some of those and play around with them > > as soon as im

Re: [PHP] which costs more ?

2008-05-24 Thread Robert Cummings
On Sat, 2008-05-24 at 09:55 -0700, Feris wrote: > Hi All, > > I need to decide whether to consume feeds from third party as web services > or just creating my own system with relational MySQL backend. > > Question is, which actually cost more ? Parsing a moderate streaming XML or > creating a my

Re: [PHP] which costs more ?

2008-05-24 Thread Larry Garfield
On Saturday 24 May 2008, Feris wrote: > Hi All, > > I need to decide whether to consume feeds from third party as web services > or just creating my own system with relational MySQL backend. > > Question is, which actually cost more ? Parsing a moderate streaming XML or > creating a mysql connectio

[PHP] Zend Extension

2008-05-24 Thread Павел Манылов
Please, help me: give me a link to manual for Zend Extension developing (please don't give me a link for simple PHP extension - i interested in writing simple encoder like Zend Encoder :)) Sorry for my English :)

[PHP] Zend Extension

2008-05-24 Thread Павел Манылов
Please, help me: give me a link to manual for Zend Extension developing (please don't give me a link for simple PHP extension - i interested in writing simple encoder like Zend Encoder :)) ...Sorry for my English :)

[PHP] Re: Re: Re: Re: A Little Something.

2008-05-24 Thread Michelle Konzack
Am 2008-05-22 19:46:29, schrieb Stut: > On 22 May 2008, at 15:10, Michelle Konzack wrote: > >Not realy right, because the Music-Industry try to enforce a > >International Law which they permit to contact directly the > >ISP's for informations about customers... > > "try". Yup, that's right *you* s

Re: [PHP] recursive function

2008-05-24 Thread Per Jessen
Manuel Pérez López wrote: > Hello everyone: > > Is it possible to do recursive this function? > > I can write it so linear. But only a finite number of loops. Please explain which problem you're trying to solve - it'll be easier to determine whether your problem has a recursive solution or not

[PHP] which costs more ?

2008-05-24 Thread Feris
Hi All, I need to decide whether to consume feeds from third party as web services or just creating my own system with relational MySQL backend. Question is, which actually cost more ? Parsing a moderate streaming XML or creating a mysql connection ? As I read from some sources that creating init

[PHP] recursive function

2008-05-24 Thread Manuel Pérez López
Hello everyone: Is it possible to do recursive this function? I can write it so linear. But only a finite number of loops. Thanks. Manuel Perez This is: function ($field, $arr_secuence_reverse) { if (count($arr_secuence_reverse) == 1) { return getPrimaryKey4

Re: [PHP] autoload issues

2008-05-24 Thread Bojan Tesanovic
Can you be more specific, the structure of directories what encoder did you use can you provide a sample PHP encoded class/script ... On May 23, 2008, at 5:27 PM, Joakim Ling wrote: Anyone have a solution for using autoload with encoded php files? Bojan Tesanovic http://www.carster.us/