kikilahooch Posted April 24, 2006 Share Posted April 24, 2006 below is the code i have used but there is nothing happening when i click on submit. any help greatly appreciated.<html><head><title> adminwelcome</title></head> <a name = "adminwelcome"><font color="#5CB3FF"><p> <font color= #000000><body link="green" alink="black" vlink="green"><h1><center> Welcome Admin </center></h1> <p><p><p><center> <p>Please select from the following options</p> <form name="update" method="post" action="update_members.php"> Update Member Details <input type="checkbox" name="checkbox" value="checkbox"> </form> <form name="delete" method="post" action="delete_members.php"> Delete Member Details <input type="checkbox" name="checkbox" value="checkbox"> </form> </form> <input type="submit" name="Submit" value="Submit"> <p> </p> <p> </p> </center><center><label></label> </p><li> <center><a href="userlogin.html" target= "mainframe"><b> Back to homepage </center> <br> <br> <br> <br> <br></body></html></body></html> Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted April 24, 2006 Share Posted April 24, 2006 You're HTML is incorrect. You should have one <form> and one </form> for each form, You have one per line.You need to have something like:[code] <form method="post" action="update_members.php">Update Member Details <input type="checkbox" name="checkbox" value="update"><br>Delete Member Details <input type="checkbox" name="checkbox" value="delete"><br><input type="submit" name="Submit" value="Submit"></form>[/code]Somewhere in this form you should also have a field indicating which user is being acted upon.Ken Quote Link to comment Share on other sites More sharing options...
avo Posted April 24, 2006 Share Posted April 24, 2006 Try This[code]<html><head><title>adminwelcome</title></head><h1 align="center">Welcome Admin</h1><form name="form1" method="post" action=""><p align="center">Please select from the following options</p><p align="center">Update Member Details<input type="checkbox" name="checkbox2" value="checkbox"></p><p align="center">Delete Member Details<input type="checkbox" name="checkbox" value="checkbox"></p><p align="center"><input type="submit" name="Submit" value="Submit"></p></form></center><label></label><li><a href="userlogin.html">Back to homepage</a></body></html></body></html>[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.