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
Thanks! I don't understand how it works, but it does! That's the main
thing!
I've been pulling my hair out over this for the last two days.
You're a legend!
Thanks again,
Stewart
On 27/04/2007, at 8:28:41 PM, [EMAIL PROTECTED] wrote:
First versions got a bug, i did not merged the groups w
First versions got a bug, i did not merged the groups when found a pair
which should connect them.
This one is better:
array('X'),
"C" => array('Q','K'),
"D" => array('M'),
"F" => array('V'),
"G" => array('N'),
"I" => array('X','M'),
"K" => array('C'),
"M" => array(
On 27/04/2007, at 7:57:45 PM, Edward Kay wrote:
Interesting problem. I've got a few ideas but please could you
clarify what
you want as the output? Is it just an array of the groups, i.e.
Array
(
[0] => 'B,X,I,M,V,F,D'
[1] => 'C,Q,K'
[2] => 'G,N'
[3] => 'R,U'
)
What you want is strange...
but this is the solution
array('X'),
"C" => array('Q','K'),
"D" => array('M'),
"F" => array('V'),
"G" => array('N'),
"I" => array('X','M'),
"K" => array('C'),
"M" => array('I','V'),
"Q" => array('C'),
"R" => array('U'),
"V" =>
> -Original Message-
> From: Stewart Macdonald [mailto:[EMAIL PROTECTED]
> Sent: 27 April 2007 10:13
> To: php-general@lists.php.net
> Subject: [PHP] Recursive function for array task?
>
>
> Hi all,
>
> I've got a bit of a logic problem that I can't figure out.
>
> I've got an array:
>
>
# [EMAIL PROTECTED] / 2006-12-08 10:59:51 +1100:
> Roman Neuhauser wrote:
> ># [EMAIL PROTECTED] / 2006-12-07 13:41:00 +0100:
> >>I wrote a recursive function, but when running the function appache
> >>stalls, the error log says:
> >>
> >>module mod_php4.c is already running, skipping
> >
> >T
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2006-12-07 13:41:00 +0100:
I wrote a recursive function, but when running the function appache stalls,
the error log says:
module mod_php4.c is already running, skipping
That has nothing to do with the function call.
Is this a bug, or am I
# [EMAIL PROTECTED] / 2006-12-07 13:41:00 +0100:
> I wrote a recursive function, but when running the function appache stalls,
> the error log says:
>
> module mod_php4.c is already running, skipping
That has nothing to do with the function call.
> Is this a bug, or am I doing something wr
n: Sjef
CC: php-general@lists.php.net
Onderwerp: Re: [PHP] recursive function problem
On Thu, 2006-12-07 at 13:41 +0100, Sjef wrote:
> Hello!
> I wrote a recursive function, but when running the function appache
stalls,
> the error log says:
Did you write a recursive function to send thi
On Thu, 2006-12-07 at 13:41 +0100, Sjef wrote:
> Hello!
> I wrote a recursive function, but when running the function appache stalls,
> the error log says:
Did you write a recursive function to send this mail to this list
perhaps?
--Paul
All Email originating from UWC is covered by disclaimer
Sjef wrote:
> Hello!
> I wrote a recursive function, but when running the function appache stalls,
> the error log says:
>
> module mod_php4.c is already running, skipping
this error message is from the apache start up routine - you seem to
loading the php4 apache module twice. fix you apache co
If you show some code maybe somebody on the list can help you.
On Thu, 7 Dec 2006 13:41:00 +0100, "Sjef" <[EMAIL PROTECTED]> wrote:
> Hello!
> I wrote a recursive function, but when running the function appache
> stalls,
> the error log says:
>
> module mod_php4.c is already running, skipping
>
13 matches
Mail list logo