Welcome Guest, Not a member yet? Register   Sign In
SQL Injection protection in CodeIgniter
#5

[eluser]Razican[/eluser]
I have used it but I get this error:

Code:
Unknown column 'Razican' in 'where clause'

UPDATE `users` SET `last_IP` = 'x.x.x.x' WHERE `username` = Razican

EDIT: My fault

EDIT: It works fine now, thanks.


Messages In This Thread
SQL Injection protection in CodeIgniter - by El Forum - 07-22-2010, 12:17 PM
SQL Injection protection in CodeIgniter - by El Forum - 07-22-2010, 12:52 PM
SQL Injection protection in CodeIgniter - by El Forum - 07-22-2010, 01:18 PM
SQL Injection protection in CodeIgniter - by El Forum - 07-22-2010, 01:30 PM
SQL Injection protection in CodeIgniter - by El Forum - 07-22-2010, 03:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB