I remember, as if I could add some variables to the URL, such as: http://www.abc.com# ....
It's like a series of characters starting with the # number. So, what is the specific format? In PHP, how do I read these variables?
Now it's important to use this, thank you very much!
Reply to discussion (solution)
Seems to be "? ", but what is the specific way to use it?
You directly add is, get the words, Print_r ($_get); Will know.
You directly add is, get the words, Print_r ($_get); Will know.
Thank! I've tried it, it's ready to use.
But can I ask: Is it only a character variable to transmit? Is there a way to pass integer variables? (as if it were only a character type, because it was sent in the URL, right?) )
That's it, you convert it.
You directly add is, get the words, Print_r ($_get); Will know.
Thank! I've tried it, it's ready to use.
But can I ask: Is it only a character variable to transmit? Is there a way to pass integer variables? (as if it were only a character type, because it was sent in the URL, right?) )
First of all, you use the # symbol is not a variable, but a fragment, simply can not be passed to the server side, will only stay in the browser side, his role can be understood as Web bookmarks.
Second, even if this can be passed to the server side, the server will agree that this is a string variable, the key is how you recognize this variable. Type conversions and the like.
You directly add is, get the words, Print_r ($_get); Will know.
Thank! I've tried it, it's ready to use.
But can I ask: Is it only a character variable to transmit? Is there a way to pass integer variables? (as if it were only a character type, because it was sent in the URL, right?) )
First of all, you use the # symbol is not a variable, but a fragment, simply can not be passed to the server side, will only stay in the browser side, his role can be understood as Web bookmarks.
Second, even if this can be passed to the server side, the server will agree that this is a string variable, the key is how you recognize this variable. Type conversions and the like.