php to db

created db and added some php to list notes and post new one