Update AJAX and Sqlite

use AJAX to post the tips, and save as sqlite's db.
we need to run "selectAll.php" to create a useable datebase first.