Generate random word ( from two known words )
<p>SO I can do this with numbers:</p>

<pre><code>&lt;?=number_format(mt_rand(0,1));?&gt;
</code></pre>

<p>What I want to do is echo instead of 0 or 1</p>

<p>the words <strong>firstclass</strong> or <strong>secondclass</strong></p>

<p>Because I cannot use numbers as class identifiers ( css ) So essetinally, this is just for displaying random stuff within a list and prepending the class identifier with either firstclass or secondclass.</p>

<pre><code>.firstclass {display:none;}
</code></pre>

<p>I am not ace with php, so I guess I need to set up an array, and somehow attribute:</p>

<p>0 = firstclass
1 = secondclass </p>

<p>within the array, so that i can get my little test script working.</p>

<p>Any suggestions please.</p>
