I have this url and i want to get the circle_id
http://localhost:8888/li.php#/action=1&P=1circle_id=0090000007
i have this code
$circle_id = $_GET["circle_id"];
echo $circle_id ;
but it doesn't return any output
I have this url and i want to get the circle_id
http://localhost:8888/li.php#/action=1&P=1circle_id=0090000007
i have this code
$circle_id = $_GET["circle_id"];
echo $circle_id ;
but it doesn't return any output
query string starts with "?" and concatenate by "&" Try http://localhost:8888/li.php?action=1&P=1&circle_id=0090000007
I think your URL looks a bit weird, first is what @Federico mentioned, the query mark ?
is not there.
Secondly, you missed the query field P=1&circle_id=009....
, you should have a &
to separate each query field. Hopefully it helps.