mapleleaf Posted January 27, 2009 Share Posted January 27, 2009 <form action="http://localhost:8888/CI7H/index.php/home/login" method="post"><font color="#ffffff">User </font><input type="text" name="name" size="6" ><font color="#ffffff"> Pass </font><input type="password" name="password" size="6"><input type="submit" name="login" value="Log in" /></form> It is calling a codeigniter function. Shouldn't make any difference as I can't get it to call any pages at all. This just does nothing. No can't find page. Nothing. Source code looks correct except firefox does show the action url in red. In firebug I can't see any errors. Link to comment https://forums.phpfreaks.com/topic/142653-solved-form-wont-submit-baffled/ Share on other sites More sharing options...
rhodesa Posted January 27, 2009 Share Posted January 27, 2009 try adding method="POST" to the form tag Link to comment https://forums.phpfreaks.com/topic/142653-solved-form-wont-submit-baffled/#findComment-747698 Share on other sites More sharing options...
mapleleaf Posted January 27, 2009 Author Share Posted January 27, 2009 I wish that was it. I just missed copying my code. I edited the original posting to include that. Link to comment https://forums.phpfreaks.com/topic/142653-solved-form-wont-submit-baffled/#findComment-747700 Share on other sites More sharing options...
haku Posted January 27, 2009 Share Posted January 27, 2009 By nothing happens, you mean the page doesn't even reload? Or does the page reload and you end up with a blank page? Or what? Link to comment https://forums.phpfreaks.com/topic/142653-solved-form-wont-submit-baffled/#findComment-747707 Share on other sites More sharing options...
rhodesa Posted January 27, 2009 Share Posted January 27, 2009 edit: what he said and...are you testing with just this snippet or is there other code on the page? check to make sure you don't have this form nested inside another form Link to comment https://forums.phpfreaks.com/topic/142653-solved-form-wont-submit-baffled/#findComment-747709 Share on other sites More sharing options...
mapleleaf Posted January 27, 2009 Author Share Posted January 27, 2009 This line of code just before the form caused the problem <td align="right" valign="baseline > Baseline not closed. OOPs Link to comment https://forums.phpfreaks.com/topic/142653-solved-form-wont-submit-baffled/#findComment-747727 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.