Unable to get id starting with # from URL PHP

Viewed 56

I am trying to get the id from the URL.

URL : http://localhost/user_notes/user.php?id=1234

echo $_GET['id']; // outputs 1234    

But If I use # at the start of the id then I am not getting id.

URL : http://localhost/user_notes/user.php?id=#1234

echo $_GET['id']; // outputs nothing  
1 Answers
Related