Welcome Guest, Not a member yet? Register   Sign In
Select Query Error
#2

Did you add an echo $where; to get the generated SQL or did you just guess what it actually generated and run it in MySQL console?

Also, your code are vulnerable to SQL Injection, you should fix that ASAP!
https://www.codeigniter.com/user_guide/d...y-bindings
https://en.wikipedia.org/wiki/SQL_injection
Reply


Messages In This Thread
Select Query Error - by lfmluis - 06-12-2019, 11:51 AM
RE: Select Query Error - by jreklund - 06-12-2019, 01:36 PM
RE: Select Query Error - by Wouter60 - 06-12-2019, 01:39 PM
RE: Select Query Error - by hc-innov - 06-12-2019, 01:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB