Hello so I am using the callback feature of https://smsgateway.me and my current code is here:
<?php
include "smsGateway.php";
$smsGateway = new SmsGateway('[email protected]', 'password');
$message = //extract number value from multidimensional array;
$number = "09058789624";
$deviceID = 5495;
$result = $smsGateway->sendMessageToNumber($number, $message, $deviceID);
?>
In the documentation of smsgateway.me here I've used every http POST request and as you can see the parameter contact there says that it's a multidimensional array that contains the ID, Name and Number. Now what I wanted to do is to only get the Number. How can I do that?
var_dump()function to do that, put the$_POST['message']in thatvar_dump()asvar_dump($_POST['message'])