PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi, I am trying to implement the following code, however it's just not working, as you can see it's a button which goes to a URL after being clicked, the URL should be that of the variable $test. Any help kindly appreciated
Hi Social_Experiment & Anantha I have tried both of your solutions and nothing is working. Is what I am trying to do actually possible without using Javascript?
It works find on a html link with the following code:
The problem might be your form code. There is no EVENT attribute that can be used with the form tag. Also, LINK is not a valid value for method, it's either post, get (of which get is deprecated). If you aren't posting information simply use an anchor tag <a>.