Is there a way to use the class or id of a text link for an if statement in php?
my purpose is to send a "variable" through a text link, but not in the url, so I w开发者_Go百科ill make a check using PHP.
So, the page will check if the referred had a class=something or id=something.
Thank you.
It's impossible. You should pass it through GET/POST parameters or add it to request headers.
精彩评论