Welcome Guest, Not a member yet? Register   Sign In
MySQL query fail in CI and PHP but not with MySQL client
#5

[eluser]cwt137[/eluser]
Could it be a classic case of sql injection? Make sure you escape your values. Parameterize your sql statements (aka Query Bindings) http://ellislab.com/codeigniter/user-gui...eries.html. I do it to all my queries.


Messages In This Thread
MySQL query fail in CI and PHP but not with MySQL client - by El Forum - 02-07-2009, 09:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB