[PHP] Re: determine which string is longer and then what is different in that string

2007-08-25 Thread Robert Keizer
ach($ary2 as $num){ $num2 .= $num; } that would get the strings into "12345678" and "246810" respectfully, so you could do simple add, subtract, greater than, less than, etc... hope this was helpful. Robert Keizer ""Richard Kurth"" <[EMAIL PROTECTED]> w

[PHP] Re: Calling functions which names are inside a variable

2007-08-25 Thread Robert Keizer
Thats great thanks, but it doesn't solve my problem completly, im trying to use $output = $var(); .. which gives me an error. The $var(); works though, so thanks for that. Robert Keizer ""Robert Keizer"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

[PHP] Calling functions which names are inside a variable

2007-08-25 Thread Robert Keizer
I am currently working on a module testing class, I can't seem to find the correct syntax. Here is an example of the problem: function foo( $var ){ include $var.'.php'; return $var(); //