An API to our Personal Corpus

A post over at ReadWriteWeb describes what the author calls a Personal API. The description of the API in the post something similar to what Google has put on it’s Nexus 4, a bit of software that learns where you are, your relationships, your likes/dislikes, mashes them together and learns Read more…

CSV into MySQL using PHP

I wanted to get various fields from a CSV into a MySQL table, it was a two second job. Here is is for anybody that needs it:   [codesyntax lang=”php”] <?php //error reporting error_reporting(E_ALL); ini_set(‘display_errors’, 1); //1) connect to mysql $db = new PDO(‘mysql:host=localhost;dbname=database;charset=utf8’, ‘username’,’password’); //2) $row = 1; if Read more…

css.php