I’m new to PHP but was wondering how this can be done.
I want to have submit an HTML form to another PHP page, but i dont want to use the ugly button. I want to use a link.
The thing is, i see many solutions out there that uses Java Script/Jquery etc to solve this, Does any one know how to do this with PHP code and HTML only?
Either use a
<input type="submit">and style it like a link with css, or create a Link with onclick:If you want to make sure it works when JS is disabled, add something like this:
This will show the button on computers where JS is disabled, the link above will still be shown. A workaround is to hide the link with CSS and then show it with JS..