AIL PROTECTED]
> www.phpbeginner.com
>
>
>
>
>
>-Original Message-
>From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, July 11, 2001 1:13 AM
>To: 'Maxim Maletsky'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: RE: [PHP] weird behavi
m: Christian Dechery [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, July 11, 2001 12:45 AM
>To: [EMAIL PROTECTED]
>Subject: [PHP] weird behaviour with ("Z" <= "Z")
>
>
>"Z" <= "Z" is true right??
>
>then why this weird thing happens when
search the
>archives...i think someone had a simple workaround using chr() to get
>what you want...
>
>jack
>
>-Original Message-
>From: Christian Dechery [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 10, 2001 11:45 AM
>To: [EMAIL PROTECTED]
>Subject: [
Olson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 1:45 AM
To: Maxim Maletsky
Cc: Jack Dempsey; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] weird behaviour with ("Z" <= "Z")
I forget which version of PHP allows you to do the following, it may be
4.0.6
$i<=90;$i++){
> $str .= chr($i) . " ";
> }
> echo $str;
> ?>
>
> jack
>
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 12:10 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject
7;; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] weird behaviour with ("Z" <= "Z")
Try this:
jack
-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 12:10 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE:
Try this:
jack
-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 12:10 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] weird behaviour with ("Z" <= "Z")
what???
are you sure it does that to you?
You
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 12:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] weird behaviour with ("Z" <= "Z")
"Z" <= "Z" is true right??
then why this weird thing happens when I have this code:
for($letter="A"; $l
Hello Christian,
10 July, 2001, 18:44:53, you wrote:
CD> "Z" <= "Z" is true right??
Yes, right, but "Z" = "Z" and your code makes next iteration, then
$letter = "AZ" and "AZ" is LESS that "Z", because "A" < "Z".
:)
CD> then why this weird thing happens when I have this code:
CD> for($letter
PROTECTED]]
Sent: Tuesday, July 10, 2001 11:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] weird behaviour with ("Z" <= "Z")
"Z" <= "Z" is true right??
then why this weird thing happens when I have this code:
for($letter="A"; $letter<="
"Z" <= "Z" is true right??
then why this weird thing happens when I have this code:
for($letter="A"; $letter<="Z" ; $letter+)
echo " $letter";
it should output " A B C D E . W X Y Z" right?
but it outputs " A B C D E ... W X Y Z AA AB ... YW YX YY YZ".
why?
. [ Christian Dechery
11 matches
Mail list logo