Re[2]: [PHP] A to Z incremental

From: Date: Thu, 22 Apr 2004 15:18:58 +0000
Subject: Re[2]: [PHP] A to Z incremental
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184265@lists.php.net to get a copy of this message
Hello Pablo, Thursday, April 22, 2004, 4:05:23 PM, you wrote: >> Hi! >> Got this script: >> >> <?php >> for($i='A';$i<='Z';$i++){ echo $i.' | '; } >>> >> >> The output is: >> A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R >> | S | T | U | V | W | X | Y | Z | AA | AB | AC | ... YX | YY | YZ >> | >> >> where is should display only letters from A to Z. >> Why is that? >> PG> Hi, Paul. Try this instead. ... Thanks Pablo! I know that but I was curios why that happens. -- Best regards, Paul mailto:lists@pardel.net

« previous php.general (#184265) next »