Fixed some errors

in Form2 - changed trip to tripc
in submit - fixed calling the DB