Generating a random numbers and letters
<p>Can I ask for a certain code on how to generate a random letters and numbers in one word. I know there's a PHP function rand(), but I don't know if it's also applicable with letters. There's also a function called mt_rand() but I don't know how it works. I'm planning on generating a word like this one:</p>

<pre><code>$randomcode = re784dfg7ert7;
</code></pre>

<p>Do you guys have any simple code on this one? Thanks in advance!</p>
