i want to redirect user to registration based on there role. like there is two roles user and shop if user select user role then it will be directed to the ragic.php(registration customer) if selected shop then ragis.php Hear is the code… one problem is how i pass a javascript variable into anchor href. or i also try for php
Tag: anchor
how to send the value of an anchor with jquery ajax to php
I am trying to send to values of a couple of anchors with jquery to php file but i got no callback from the php script. the jquery: And the php (process.php): what am i doing wrong? What i want to achieve: click on Star 5, give me value “5” back. Click on Star 4, give me value “4” back
How to create a link to another PHP page
I just converted some of my HTML pages to PHP pages, and I’m not that familiar with PHP. In my HTML pages, assuming it’s just a static web app, I can link to another page quite simply by playing the following anchor on the page: <a href=”go-to-this-page.html”>This is a link</a> So, after converting the pages to PHP in order to
Get fragment (value after hash ‘#’) from a URL in php [closed]
How can i select the fragment after the ‘#’ symbol in my URL using PHP? The result that i want is “photo45”. This is an example URL: http://example.com/site/gallery/1#photo45