FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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...
Related topics
Site Nav Suggestions...
Help with PhpBB
Please Give Feedback About My Funny Pics Collection!
New insight into the automatic double-posting bug.
50 things....
Guitar Thread: 7 Strings Guitars (or possibly more)
favorite guitar strings?
Fantastico - which scripts/programs have automatic upgrades?
automatic use of .sql file
Connection strings !
Automatic search before post feature
Email Trouble - Automatic spam filters?
My Windows Xp gets rstart automatic what to do ?
colored guitar strings.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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