Welcome Guest, Not a member yet? Register   Sign In
How can I write this query with Active Records?
#2

[eluser]TheFuzzy0ne[/eluser]
Doing that with the Active Record class will probably be impossible, since it's geared more towards simpler queries.

When you say you want to change the WHERE condition, do you simply mean the value, or the entire WHERE condition. In either case, query bindings will probably help: http://ellislab.com/codeigniter/user-gui...eries.html (bottom of the page).


Messages In This Thread
How can I write this query with Active Records? - by El Forum - 05-23-2013, 08:35 PM
How can I write this query with Active Records? - by El Forum - 05-24-2013, 02:13 AM
How can I write this query with Active Records? - by El Forum - 05-24-2013, 05:21 AM
How can I write this query with Active Records? - by El Forum - 05-24-2013, 02:33 PM
How can I write this query with Active Records? - by El Forum - 05-24-2013, 02:37 PM
How can I write this query with Active Records? - by El Forum - 05-29-2013, 01:12 AM
How can I write this query with Active Records? - by El Forum - 05-29-2013, 04:20 AM
How can I write this query with Active Records? - by El Forum - 05-29-2013, 04:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB