I have four notification settings as below :
1.Renew Tax
2.Renew Health Insurance
3.Renew Car Insurance
4.Renew Residential Insurance
If a user turn off any of the settings in their mobile phone NO notification will be sent to their mobile phone.
If a user turn on the setting to notify, then user will receive alert message just 4 days before payment as a reminder.
How will I write a web service in basic php to send notifications?