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: href
How to submit a POST using tag?
I realize we need forms to submit a POST or perhaps with the help of a button. However, how do we do it using tags? Example code: I’m trying use PHP to read a text file for a number of variables (names of each picture that I’ve saved). From the text file, this PHP will then convert the variables into
Issues with directories and paths in a PHP project
I am having trouble figuring out this path problem. As you can see the highlighted tag is located in a file called admin_navigation.php and the href is going one directory up from includes folder …
Add PHP variable inside echo statement as href link address?
I’m trying to use a PHP variable to add a href value for a link in an echo statement. Here’s a simplified version of the code I want to use. I know that I can’t just add the variable into the echo statement, but I can’t seem to find an example anywhere that works. Answer Try like HTML in PHP