This is my sms url
"https://example.com/api/sendhttp.php?authkey=#############&mobiles=".$mobile."&message=".urlencode($rem)."&sender=abcdef&route=#"
Here is my Code
<?php
session_start();
$mobile=98994564564;
$rem="Hi";
$url=$_SESSION['smsurl'];
echo $url;
?>
What I am trying to do here is I am calling this url through session variable. But when I am displaying the url, it is not getting value of $mobile
and $rem
.
It should display
"https://example.com/api/sendhttp.php?authkey=#############&mobiles=8994564564"&message=".urlencode("Hi")."&sender=abcdef&route=#"