modified tabbed db php example
added initial mini_kpi for php