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!
Moderator: General Moderators
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Sat Apr 17, 2004 10:09 pm
Hi,
Does anyone know how you can use a hyperlink to send all the form data instead of using a submit button?
Basically I wanted to use an image as the submit button but I also wanted the cursor to switch to the classic hyperlink pointer on mouseover.
Thanks
mikusan
Forum Contributor
Posts: 247 Joined: Thu May 01, 2003 1:48 pm
Post
by mikusan » Sat Apr 17, 2004 10:15 pm
You can use an image as your submit button, that's just basic HTML. I don't have the code handy, but this is not PHP.
Sending forms over POST variables is much more efficient than clogging up your address bar.
Bill H
DevNet Resident
Posts: 1136 Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:
Post
by Bill H » Sat Apr 17, 2004 11:54 pm
Code: Select all
<input type=image src="images/ab_add.gif">