-1

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

uno
  • 867
  • 2
  • 14
  • 29

2 Answers2

0

query string starts with "?" and concatenate by "&" Try http://localhost:8888/li.php?action=1&P=1&circle_id=0090000007

Dubbo
  • 686
  • 6
  • 8
0

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.

CheeHow
  • 875
  • 4
  • 12
  • 27