Update _test folder
This commit is contained in:
15
_test/ajax/ajax-sqlite-read/data.php
Normal file
15
_test/ajax/ajax-sqlite-read/data.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
require 'conn.php';
|
||||
|
||||
$query = $conn->query('SELECT * FROM `user`');
|
||||
while($fetch = $query->fetchArray()){
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $fetch['firstname']?></td>
|
||||
<td><?php echo $fetch['lastname']?></td>
|
||||
<td><?php echo $fetch['gender']?></td>
|
||||
<td><?php echo $fetch['age']?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user