Hi,
I have a form on my front page for a login using sessions. I have created a rollover image for the sign-in button. The problem is I cant send the data from the form because the image is just a link. I have tried changing it to a <input type=image.... > but I cant get the different rollover states to work? Any ideas?
<a href="index.php>" onMouseOver='xpe("0o");'onMouseOut='xpe("0n");'onMouseDown='xpe("0c");'><img src="images/bt0_0.gif" name=xpwb0 width="70" height="20" border=0 alt ="Sign In"></a>
Cheers,
Asa.
note: this really has nothing to do with PHP nor sessions
anyway, use javascript to submit the form with the link is clicked.
<form action="" method="POST"> <a href="javascript:document.forms[0].submit()">submit</a> </form>