Hi i'm trying to create an application to send notification SMSs to people, i wana select their name and phone number from the database and send them smss using the following API:
I am new in php programming
the following is the code i used to select from the database
In common API's they will provide a PHP file and a certificate file ( optional) and we can use those files to drirectly send SMS.
A rough code looks like follows
$sms=new SMSApi();
$sms->senderId("YOUR CUSTOMER ID");
$sms->number="1254578" // Number to send SMS
$sms->type=1 // Promotional, transcational etc
$sms->send(); // Send SMS
Please check with their documentation for more details