Welcome Guest, Not a member yet? Register   Sign In
Form in CI: POST and GET
#7

[eluser]developer10[/eluser]
[quote author="Colin Williams" date="1246945280"]
Quote:wonder if that solution (mixing of segments with query strings) is officially regarded acceptable by the CI developers?

It isn't. They'll revoke your license. Tread carefully Smile The only case I would make for using query strings is if some API you are using requires them, or the sample code they provide makes use of them (Facebook App API is a good example.) There's nothing you can do with query strings that you can't do with segments.[/quote]

well then, how to make my form after submitting to show something like this in the address bar:
/controller/function/Category/City/
instead of
/controller/function/?category=Category&city=City

What do i put as form's target? how do you guys deal with forms in order for it not to send
its values like the above example when using $_GET?


Messages In This Thread
Form in CI: POST and GET - by El Forum - 07-06-2009, 04:12 PM
Form in CI: POST and GET - by El Forum - 07-06-2009, 04:19 PM
Form in CI: POST and GET - by El Forum - 07-06-2009, 04:34 PM
Form in CI: POST and GET - by El Forum - 07-06-2009, 06:41 PM
Form in CI: POST and GET - by El Forum - 07-06-2009, 07:54 PM
Form in CI: POST and GET - by El Forum - 07-07-2009, 01:58 AM
Form in CI: POST and GET - by El Forum - 07-07-2009, 02:26 AM
Form in CI: POST and GET - by El Forum - 07-07-2009, 03:55 AM
Form in CI: POST and GET - by El Forum - 07-07-2009, 03:59 AM
Form in CI: POST and GET - by El Forum - 07-07-2009, 04:07 AM
Form in CI: POST and GET - by El Forum - 07-07-2009, 04:13 AM
Form in CI: POST and GET - by El Forum - 01-12-2010, 10:16 AM
Form in CI: POST and GET - by El Forum - 01-12-2010, 10:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB