Welcome Guest, Not a member yet? Register   Sign In
Crosstab Query Not Working With ActiveRecord
#3

[eluser]TheFuzzy0ne[/eluser]
The problem is that the AR class is escaping your select query and it's breaking it due to the functions. By passing FALSE as the second parameter to the select method, the fields are not escaped. It's documented in the [url="http://ellislab.com/codeigniter/user-guide/database/active_record.html"]user guide[/url].


Messages In This Thread
Crosstab Query Not Working With ActiveRecord - by El Forum - 03-08-2009, 12:15 AM
Crosstab Query Not Working With ActiveRecord - by El Forum - 03-08-2009, 02:29 AM
Crosstab Query Not Working With ActiveRecord - by El Forum - 03-08-2009, 06:17 AM
Crosstab Query Not Working With ActiveRecord - by El Forum - 03-27-2009, 11:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB