How to make a submit button a link
Posted 27 March 2006 - 08:44 PM
instead of having the standard link (blue text underlined) i want to make a link to another page using a submit button. The code i have used for the button is below.
<td colspan='2'> <input type='submit'
value='Return to orders menu'></td>\n";
As you can see this will not actually do anything except display the button. The question is how do i make this into a link? (I have used this code on my .php page and am not reading anything in from a .ini page and hopefully wont have to unless i need to).
Posted 27 March 2006 - 10:06 PM
all that hassel just for a link and you aren't even sending any data! I'd just use an image for the link if you don't want the 'plain' text or better still use css well and create a funky link! Latter is much better for accessibility!
Posted 28 March 2006 - 03:56 AM
I can't stop you from doing something silly, but at least I can help you do it right.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users