Second table with groups now functional. SqLite needs work. Changes also made to localhost php files.