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

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -