title: displaying values from sql in html select option not displaying values
body: <p>i have created a html form using php and sql. The form contains a field called spaces which is a select dropdown. The values are coming from an array which i declared in php. If the values in array are already present in database it should not display. So i have done the following code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;select class="form-control" id="space" name="space"&gt;
    &lt;option value="--Select--"&gt;--Select--&lt;/option&gt;
    &lt;?php
  $select=mysqli_query($con,"select * from clients where Spaces IS NOT NULL");
  while($menu1=mysqli_fetch_array($select))
        {
  $filled =$menu1['name'];
  $valuez = array("C101","C102","C103","C104");
  if ($filled != $valuez) {
  
  
        ?&gt;
      &lt;option value="&lt;?php echo $valuez;?&gt;"&gt;
        &lt;?php echo $valuez;?&gt;
      &lt;/option&gt;
      &lt;?php
        }}
        ?&gt;
  &lt;/select&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>but this is not making any values display. Can anyone please tell me what is wrong in my code. thanks n advance </p>