<html>
<head>
</head>
<body>
<h2>SQLite Insert</h2>
<!--PHP code--------------------------------------->
<?php
$dbFile = '/home/sultans/data/sqlite/sqlite.db';
$db = new SQLite3($dbFile);
$table = 'cars';
print "<p> Database: $dbFile \n";
print "<br> Table...: $table </p> \n";
$db->exec("INSERT INTO cars(name, price) VALUES('Audi', 52642)");
$db->exec("INSERT INTO cars(name, price) VALUES('Mercedes', 57127)");
$db->exec("INSERT INTO cars(name, price) VALUES('Skoda', 9000)");
$db->exec("INSERT INTO cars(name, price) VALUES('Volvo', 29000)");
$db->exec("INSERT INTO cars(name, price) VALUES('Bentley', 350000)");
$db->exec("INSERT INTO cars(name, price) VALUES('Citroen', 21000)");
$db->exec("INSERT INTO cars(name, price) VALUES('Hummer', 41400)");
$db->exec("INSERT INTO cars(name, price) VALUES('Volkswagen', 21600)");
print "Data inserted in table '$table'</h3>"
?>
<!------------------------------------------------>
</body>
</html>