Welcome Guest, Not a member yet? Register   Sign In
Issue with get_where and where methods in query builder.
#1

I just "answered" a Stack Overflow question that seems to point out a bug in get_where and where methods in the query builder:

https://stackoverflow.com/questions/48507219

This is using the current version of CodeIgniter, 3.1.7.

Basically, if a string is used as the where condition that contains " and x between x and ", then the query builder is inserting a bunch of backticks.

The query bindings feature doesn't have this problem.

I don't have a good enough understanding of the DB classes to help fix this, or know if it can be fixed.
Reply


Messages In This Thread
Issue with get_where and where methods in query builder. - by skunkbad - 01-29-2018, 08:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB