08-12-2009, 04:26 AM
[eluser]wasabi1948[/eluser]
Hello everyone.
First of all, I'm a beginer with CI and in some way with PHP. An keep running into this problem (I manage to work around it -by ignoring it, and choosing other aproaches, but not this time).
So here it is: i have a page with 2 forms: one for login (email, pass, submit) which is submited to "users/login", and a order form (several selects and submit button) which is submited to orders/some_action.
Problem is: I click the submit button for the order form, and it submits to users/login. What am I doing wrong?
See for your self: http://paintedsouvenirs.com/index.php
Hello everyone.
First of all, I'm a beginer with CI and in some way with PHP. An keep running into this problem (I manage to work around it -by ignoring it, and choosing other aproaches, but not this time).
So here it is: i have a page with 2 forms: one for login (email, pass, submit) which is submited to "users/login", and a order form (several selects and submit button) which is submited to orders/some_action.
Problem is: I click the submit button for the order form, and it submits to users/login. What am I doing wrong?
See for your self: http://paintedsouvenirs.com/index.php