FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Automatic Alphabetical Strings

 


thnn
Im looking to create a script that starts off with a string that is A then B etc then AA and then AB and so it can go up and up. Does anyone have any idea how this can be done?

Thanks.
dandelion
I guess you meant the PHP script.

Just start to check out various array sort functions - sort() and others described in the 'See also' section.
yjwong
Can you like do this:
Code:

$a = 'a';

while(0 == 0){
  $a++;
}


I thought this works?
Rhysige
few problems..
1/ that would be an infinite loop and as such crash something.
2/ you adding 1 to a 0_o WTF...
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.