$compare1 = 1234; $compare2 = '1234'; if ($compare1 == $compare2) { // type juggling concern } if ((int)$compare1 === (int)$compare2) { // not type juggling }Which one...
What have you tried? Ionic got geolocation which you can get the lat and lng,then you can simply save it to your server
Why CI instead of Laravel?