Jump to content

[SOLVED] image submit button


nezbo

Recommended Posts

Hi all

 

I have this code and i cant get it to submit the same way as a submit button

 

		echo "<table cellspacing=1 class=\"modual\">";
	echo "<form action=" . $_SERVER['PHP_SELF'] . " method=\"post\" name=\"userLogin\">";
	echo "<tr class=\"tHedder\"><td><span class=small><strong>" . H_SIGN_IN . "</strong></span>";
	echo "<tr class=\"modual\"><td><span class=small>" . F_USER_NAME . "</span><br><input type=text name=userName size=10 />";
	echo "<br><span class=small>" . F_PASSWORD . "</span><br><input type=password name=password size=10 />";
	echo "<br><div align=\"center\">"; ?> <input type="image" name="submitLogin" src="images/signin.gif"  width="75" height="28" /> <?php
	echo "</div><div align=\"center\"><a href=\"forgotpassword.php\"><span class=small>" . L_FORGOT_PASSWORD . "</a></span></div>";
	echo "<div align=\"center\"><a href=\"requestRegister.php\"><strong><span class=small>" . L_REQUEST_USER . "</a></span></strong></div></td></tr>";
	echo "</form>";
	echo "</table>";

 

has any one any idea how i can get it to work like a proper button?

 

Neil

Link to comment
https://forums.phpfreaks.com/topic/80468-solved-image-submit-button/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.