Print Alphanumeric (PHP)

How to print all 3 letter long Alphanumeric words.

<?php

$alphanumeric= array(“0″,”1″,”2″,”3″,”4″,”5″,”6″,”7″,”8″,”9″,”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”);

for($i=0; $i<36; $i++)
{
for($j=0; $j<36; $j++)
{
for($k=0; $k<36; $k++)
{

$newword=$alphanumeric[$i].$alphanumeric[$j].$alphanumeric[$k];
echo “$newword<br>”;

}
}
}

?>

Leave a Comment