I am trying to get a response from a Twilio API where I am facing complexity.
I have a javascript variable called sid
which is containing a string value.
var sid = value['sid']; // 'CA519c6aefde211131f2f44370d67607d4'
Now I need to call this variable into a PHP function as a parameter.
<?php echo $twilio->check_disputed($parameter) ?>
So, the $parameter
is coming from the Javascript var sid
.
I want to place the javascript variable as the parameter.
Thanks <3