title: PHP While Loop Question
body: <p>How can I turn the code below into a single array when its in the while loop? An example would help.</p>
  
  <p>Here is my PHP code.</p>
  
  <pre><code>while($row = mysqli_fetch_array($dbc)){ 
      $category = $row['category'];
      $url = $row['url'];
  }
  </code></pre>