Random string from 4 to 12 characters using just one character
<p>I need to generate something like this using PHP:</p>

<pre><code>******
*********
****
***********
******
********
*******
*********
*******
**********
********
******
********
</code></pre>

<p>using PHP.</p>

<p>So, if i.e. I have this code so far:</p>

<pre><code>&lt;?php 

$character = "*"; //character that will be used in generated strings

$min = "4"; //minimum characters for a generated string

$max = "12"; //maximum characters for a generated string

?&gt;
</code></pre>

<p>What is the efficient way to write the next part of the code for rand() and echo of the string?</p>
