Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter urls
#3

[eluser]ggoforth[/eluser]
To answer the second part of your question, no codeigniter will not automatically rewrite your URLS. If you submit a form using GET you are going to get your first URL (?id=2). You need to craft your URLS properly, using POST for form submits, etc... That said, as cahva pointed out, using your second URL codeigniter would properly route you to the Welcome controller and the Search method passing it a variable that in your case, equals 2.


Messages In This Thread
CodeIgniter urls - by El Forum - 10-11-2009, 02:03 PM
CodeIgniter urls - by El Forum - 10-11-2009, 03:37 PM
CodeIgniter urls - by El Forum - 10-11-2009, 05:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB