Mr.SerikuS Posted December 22, 2015 Share Posted December 22, 2015 Hello! I tried several ways, but failed. I need to add checkbox to order statuses "Send SMS" If checkbox is checked, SMS will be sended via API (sms.mygate.mg/apikey=asd&sender=myname&telnum=[prestatelnr]&text=your order[prestaordernum] is ready if(isset($_POST['sendsms'])) { $curl = curl_init('http://sms.mygate.xx/apikey=asd&sender=myname&telnum=[$order->id_order]&text=your order[$order->id_order] is ready'); } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now