Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-05-2003, 12:25 AM   #1
Seb From Holland
Confirmed User
 
Join Date: May 2002
Location: The Netherlands
Posts: 2,747
Does somebody know how to generate a list with one letter and one number combined?

I want to have a list like this:

a1
a2
a3
|
|
|
z6
z7
z8
z9

as well as

aa
ab
ac
|
|
|
zx
zy
zz

Does anyone know how to generate it? Any help would be greatly appreciated!

Seb.
Seb From Holland is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2003, 12:26 AM   #2
detoxed
vip member
 
Join Date: Jan 2003
Posts: 17,798
a very short script
detoxed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2003, 12:27 AM   #3
Seb From Holland
Confirmed User
 
Join Date: May 2002
Location: The Netherlands
Posts: 2,747
Yes, but I'm a designer. I can't script.
Seb From Holland is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2003, 12:32 AM   #4
Manie
Registered User
 
Join Date: Apr 2003
Location: The Netherlands
Posts: 12
-script open tag-
alpha = Array('a','b','c','d');
numm = Array('1','2','3','4');

for(x=0;x<alpha.length;x++) {
for(y=0;y<numm.length;y++) {
hahahahahahahahahahahahahahaha(alpha[x]+numm[y]+"<br>");
}
}
-script close tag-

just make the 'alpha' and the 'numm' array as long as your likeing.
Manie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2003, 12:32 AM   #5
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
i can make the script for you ... 20$
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2003, 12:35 AM   #6
Seb From Holland
Confirmed User
 
Join Date: May 2002
Location: The Netherlands
Posts: 2,747
Quote:
Originally posted by Manie
-script open tag-
alpha = Array('a','b','c','d');
numm = Array('1','2','3','4');

for(x=0;x<alpha.length;x++) {
for(y=0;y<numm.length;y++) {
hahahahahahahahahahahahahahaha(alpha[x]+numm[y]+"<br>");
}
}
-script close tag-

just make the 'alpha' and the 'numm' array as long as your likeing.
Hey Manie,

Thanks, really!! Could you put that in the PHP board option so the board won't mess it up?

Regards,
Seb.
Seb From Holland is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2003, 12:36 AM   #7
Seb From Holland
Confirmed User
 
Join Date: May 2002
Location: The Netherlands
Posts: 2,747
Quote:
Originally posted by JupZChris
i can make the script for you ... 20$
Looks like somebody beat you to it. But I'll keep you in mind next time I need a script of some sort.
Seb From Holland is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2003, 12:49 AM   #8
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
Quote:
Originally posted by Seb From Holland


Looks like somebody beat you to it. But I'll keep you in mind next time I need a script of some sort.

okie
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2003, 01:30 AM   #9
KC
Confirmed User
 
Industry Role:
Join Date: Jan 1995
Posts: 2,417
This works.. put it in a file called something.php, run it with a browser.

PHP Code:

<?
    $alpha = Array('a','b','c','d');
    $num = Array('1','2','3','4');

    $c_alpha = count($alpha);
    $c_num = count($num);

    for ($x=0; $x < $c_alpha; $x++) {
        for ($y=0; $y < $c_num; $y++) {
            echo $alpha[$x] . $num[$y] . "<br>/n";
        }
    } 
?>
__________________

Jupiter Hosting, Inc.
Vice President, Business Development
kc (AT) jupiterhosting.com
KC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2003, 01:36 AM   #10
Seb From Holland
Confirmed User
 
Join Date: May 2002
Location: The Netherlands
Posts: 2,747
Thanks everybody! I've got it sorted out.
Seb From Holland is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.