I want to append the variable $name to the URL http://google.com/script.php so that I can call the variable in another script.
How do I modify the following code without having those syntax errors?
Thanks.
Codes:
$name = $_GET['smsname'];
$call = $client->account->calls->create('+103632', $number,
'http://google.com/script.php'
);
Append it like so
$name = $_GET['smsname'];
$call = $client->account->calls->create('+103632', $number,
'http://google.com/script.php?name='.$name
);
And in the next page you can get it using $_GET['name']
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With