PHP not recognizing GET variables with hash in the URL -
i have url like:
http://www.example.com/page.php#tabname the hash automatically open specific tab on page.
i need work _get variable, , url like:
http://www.example.com/page.php#tabname?color=red then on page, have:
echo $_get['red']; ...but getting undefined index error. how php recognize variable?
you need put query string before hash:
http://www.example.com/page.php?color=red#tabname
Comments
Post a Comment