1

I am trying to printing values in dropdown menu. the values printing on console, but doesn't printing on html

here is my code:

<select>
<?php
  $db = new SQLite3('Clients.db');
  $results = $db->query("SELECT EPWNIMIA FROM Pelates");

  while($row = $results->fetchArray(SQLITE3_ASSOC))
  {
      $value = $row['EPWNIMIA'];
      echo "<option>$value</option>";
  }
?>

</select>

enter image description here

Polyvios P
  • 442
  • 4
  • 11

0 Answers0