How we select data from different page and then save in our database in ionic


I have four pages first add patient then add medicine and then add schedule and last create a reminder because they all are related to each other. I want to add data in the database in the schedule page, so how can we navigate all data using checkbox and or push the data into schedule page and than add it into the database.

*ignore Grammar Mistake


Use NavParams

In NextPage.ts
constructor(public navCtrl: NavController, private storage: Storage, public navParams: NavParams) {
this.anArray1 = navParams.get(‘ParamValue1’);
this.anArray2 = navParams.get(‘ParamValue2’);


thanks for replying me, i will inform you soon if it work for me.