how do i create all possible letter combinations with php
<p>I looked around stack overflow and couldn't find a sample on what I needed.
how would I create something like this?</p>

<p>so lets say i want all possible combinations of up to 5 characters.
the output would look like this:</p>

<pre><code>aaaaa
aaaab
aaaac
aaaad

..etc
</code></pre>
