PHP While Loop Not Liking Two Variables : <p>I have the follow while loop in my code. I can't understand why it causes a loading error but when I remove the = from the statement, it suddenly works? Thanks in advance!</p>

<p>Here is my code (Yes, I do have a form opening and closing tags!):</p>

<pre><code> echo "&lt;select name='cquantity'&gt;";
 $x = 0;
 $limit = 1;
 while ($x &lt;= $limit) {
    echo "&lt;option value='$x'&gt;$x&lt;/option&gt;";    
 }
 echo "&lt;/select&gt;";
</code></pre>
