Hi Richard,
I am trying to get your actual problem.
First, you want to compare 2 strings and want to check what the difference
between these 2 strings is. I assuming string may contain either numbers or
any characters.
Second, you are trying to compare the numbers.
But I am thinking that your pr
I tested this functionality.
This is working fine.
foo.php
somefunction.php
Out put is hello.
You make sure that your both files are in same folder and make sure that
$var.'.php' is exist with $var function.
Warm Regards,
Sanjeev
http://www.sanchanworld.com/
http://webdirector
Okay, why not try somthing like this:
$string1 = "1,2,3,4,5,6,7,8";
$string2 = "2,4,6,8,10";
$ary1 = implode(",",$string1);
$ary2 = implode(",",$string2);
$num1 = '';
$num2 = '';
foreach($ary1 as $num){
$num1 .= $num;
}
foreach($ary2 as $num){
$num2 .= $num;
}
that would get the strings
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 PROTECTED]
>I am currently working on a mo
I am trying to find out which string is the longest and then find out what
is different between the two string. Sometimes String 2 is longer than
String 1 The script below works sometimes but not all the time.
Is there a better way to do this or tell me what is wrong with the script I
am using
$s
On Sat, 2007-08-25 at 23:46 -0600, Robert Keizer wrote:
> 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(); //
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(); //
On Sat, 2007-08-25 at 14:26 -0500, Larry Garfield wrote:
> On Saturday 25 August 2007, Nathan Nobbe wrote:
> > i dont know what all this goPHP5 stuff is about.
> > all i know is there was an announcment on php.net a few weeks back saying
> > php4 is deprecated and it soon will be made obsolete.
> >
On Saturday 25 August 2007, Nathan Nobbe wrote:
> i dont know what all this goPHP5 stuff is about.
> all i know is there was an announcment on php.net a few weeks back saying
> php4 is deprecated and it soon will be made obsolete.
>
> -nathan
That announcement came a week after this site launched:
i dont know what all this goPHP5 stuff is about.
all i know is there was an announcment on php.net a few weeks back saying
php4 is deprecated and it soon will be made obsolete.
-nathan
On 8/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> On Sat, 2007-08-25 at 12:28 -0500, Larry Garfield wro
On Sat, 2007-08-25 at 12:28 -0500, Larry Garfield wrote:
> Robert and everyone: PLEASE do not reply to list AND the sender, at least not
> when I'm the sender. I don't need double copies of every message in every
> thread I participate in. Thanks.
Sorry I've been hitting reply-all since I firs
Robert and everyone: PLEASE do not reply to list AND the sender, at least not
when I'm the sender. I don't need double copies of every message in every
thread I participate in. Thanks.
On Saturday 25 August 2007, Robert Cummings wrote:
> > There is no way to respond to the above request, beca
Hi,
JavaScript codes works in php files. Yours code is also fine.
But check your calling function and defined functions. Calling function is
jsopsi and defined function is opsi. Please check. Other than this
everything is ok
Warm Regards,
Sanjeev
http://www.sanchanworld.com/
http://webdirectory.
i know this thread started off about a performance comparison, but it is
already grown into much more.
suffice it to say that i consider the oop capacity of php4 nothing more than
a stepping stone on the way
to php5. i dont know of all the oop languages out there. mostly i have
worked w/ c++ and
On Sat, 2007-08-25 at 11:09 -0500, Larry Garfield wrote:
> On Saturday 25 August 2007, Robert Cummings wrote:
>
> > Rewriting? You're assuming developers of PHP4 are using all of the
> > features in PHP5 but written using PHP4 code. That's not a very valid
> > assumption. You're also assuming they
On Saturday 25 August 2007, Robert Cummings wrote:
> Rewriting? You're assuming developers of PHP4 are using all of the
> features in PHP5 but written using PHP4 code. That's not a very valid
> assumption. You're also assuming they didn't already have code written
> in PHP4 that was then duplicate
Dear my friends...
I am confused to implement JavaScript code in php web file.
I want my JavaScript change the "selected" item of tag based on the
"selected" item of previous in same php page.
Please help me tell my where is my mistake.
===
Here is my code pelangganbaru.php
===
agreed :)
On 8/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> On Sat, 2007-08-25 at 10:57 -0400, Nathan Nobbe wrote:
> > Robert,
> >
> > C is a low-level language whereas php is a high level language.
> > ill admit it openly, i am biased toward oop / design patterns.
> > and i think what i
On Sat, 2007-08-25 at 10:57 -0400, Nathan Nobbe wrote:
> Robert,
>
> C is a low-level language whereas php is a high level language.
> ill admit it openly, i am biased toward oop / design patterns.
> and i think what i boils down to is what you view as 'icing'
> i view as 'bread-and-butter' ;)
I'
Robert,
C is a low-level language whereas php is a high level language.
ill admit it openly, i am biased toward oop / design patterns.
and i think what i boils down to is what you view as 'icing'
i view as 'bread-and-butter' ;)
personally i shudder when i see a big pile of usntructured code, or
a
On Sat, 2007-08-25 at 10:33 -0400, Nathan Nobbe wrote:
> yes, i agree, people wont be all-of-a-sudden ignoring php4, but the
> notice on php.net says to migrate apps to 5 through the rest of the
> yaer. id say thats ample time to move away from it.
Migrate doesn't necessarily mean ditching PHP4 c
yes, i agree, people wont be all-of-a-sudden ignoring php4, but the
notice on php.net says to migrate apps to 5 through the rest of the yaer.
id say thats ample time to move away from it.
pretty much all of my applications rely on php5 features except those
where the system was running on php4 whe
On Sat, 2007-08-25 at 09:38 -0400, Nathan Nobbe wrote:
> i dont know Robert; i think it depends upon the structure of ones
> business.
> for instance; i work for a company full time, and have a start up of
> my own.
> in both of those situations there is no impact on the client in the
> act of
> e
i dont know Robert; i think it depends upon the structure of ones business.
for instance; i work for a company full time, and have a start up of my own.
in both of those situations there is no impact on the client in the act of
eliminating php4 from the product implementation. the clients never us
Thijs Lensselink wrote:
Angelo Zanetti wrote:
Thijs Lensselink wrote:
On Fri, 24 Aug 2007 07:57:48 +0200, Angelo Zanetti
<[EMAIL PROTECTED]> wrote:
Dear all
Im using nusoap to create a cleint and I am having a small issue but
its a
fairly large one because I cant get the c
Thijs Lensselink wrote:
On Fri, 24 Aug 2007 13:55:29 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
Thijs Lensselink wrote:
On Fri, 24 Aug 2007 12:39:06 +0200, Angelo Zanetti <[EMAIL PROTECTED]>
wrote:
Thijs Lensselink wrote:
On Fri, 24 Aug 2007 11:53:12 +02
26 matches
Mail list logo