Welcome Guest, Not a member yet? Register   Sign In
Organising my query strings/code
#3

[eluser]JamieBarton[/eluser]
Yeah I have that currently now too.

However, it would mean there would be some code duplication in the city and the other methods in the event controller.

Not sure if I should just make all parameters possible that I'll have in the URL and send them to the model, which would then if isset(), do a where statement...

Not sure if that's the best thing to do though....


Messages In This Thread
Organising my query strings/code - by El Forum - 03-09-2011, 07:07 AM
Organising my query strings/code - by El Forum - 03-09-2011, 07:25 AM
Organising my query strings/code - by El Forum - 03-09-2011, 07:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB