jquery - How can I add parameters to the url when using hash navigation which is readable by PHP? -
i have written single page application in html5. use jquery , hash navigation navigate between pages. works fine far. have written simple php script pulls blog entries database. of course want user able link articles , navigate tags etc. how implement that?
i tried http://example.com/#blog?tag=news somehow php script unable catch parameter.
do http://www.example.com?tag=news#blog in opinion looks nicer , # @abracadaver stated used browser.
<?php echo $_get['tag']; ?> //would output news
Comments
Post a Comment