PHP interesse |
|
euhm ok, ik dus een formuliertje bovenaanmijn pagina....
maar ik wil ipv de inputs plaatjes gebruiken als submit.... maar hoe doe ik dit want ik kom er niet helemaal uit, hier mijn code
<!-- START BLOCK : error -->
<script>window.alert("Your login doesn't match");</script>
<!-- END BLOCK : error -->
<form method="post" action="" onsubmit="return checkLogin(); name="login" id="login">
<input type="text" name="loginname" value="{loginname}" class="login-field"/> <input type="password" name="pass" value="{pass}" class="login-field" /> <input type="submit" name="login_post" id="login_post" value="Login" class="login-button" /> <button name="register" id="register" onclick="window.location='site.php?p=profile&action=register'" class="login-button">Register</button>
</form>
<!-- START BLOCK : error --> <script>window.alert("Your login doesn't match");</script> <!-- END BLOCK : error --> <form method="post" action="" onsubmit="return checkLogin(); name="login" id="login"> <input type="text" name="loginname" value="{loginname}" class="login-field"/> <input type="password" name="pass" value="{pass}" class="login-field" /> <input type="submit" name="login_post" id="login_post" value="Login" class="login-button" /> <button name="register" id="register" onclick="window.location='site.php?p=profile&action=register'" class="login-button">Register</button> </form>
hier mijn site
http://www.energy-gaming.org/site.php
|