\n"; echo "
Name
Actions
\n"; foreach ($conn->query("SELECT * FROM tbl1") as $row) { echo "
" . $row['name'] . "
"; echo "
"; echo "
Save
"; echo "
Delete
"; echo "
\n"; } echo "\n"; } catch (PDOException $e) { echo $e->getMessage(); } ?>