Browse Source

WIP: table print

Emiel
emieldkr 4 years ago
parent
commit
7042cd8673
1 changed files with 29 additions and 3 deletions
  1. 29
    3
      index.php

+ 29
- 3
index.php View File

@@ -1,6 +1,32 @@
<html>
<head>
</head>
<body>


<?php
$dataBase = new SQLite3("Northwind_large.sqlite");

$result = $dataBase->query('SELECT * FROM Category');
var_dump($result->fetchArray());
?>

?>

<!-- <table style="width:100%">
<tr>
<th>Beverage</th>
</tr>
<tr>
<?php
// foreach($array as $elem)
// {
// echo "<tr>";
// echo "<td>".$elem."</td>";
// echo "</tr>";
// }
?>

</tr>
</table> -->

</body>
</html>

Loading…
Cancel
Save