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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment 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 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.