Welcome Guest, Not a member yet? Register   Sign In
Help to avoid sql injection attack
#7

[eluser]CodeIgniteMe[/eluser]
Or to make it all so short
Code:
function get_data()
{
    return $this->db->select('title,picture,news')->where('id', $_GET['id'])->get('sport')->result();
}

only works with PHP >= 5.0
Method Chaining


Messages In This Thread
Help to avoid sql injection attack - by El Forum - 08-06-2011, 07:48 PM
Help to avoid sql injection attack - by El Forum - 08-07-2011, 02:11 PM
Help to avoid sql injection attack - by El Forum - 08-07-2011, 07:27 PM
Help to avoid sql injection attack - by El Forum - 08-08-2011, 02:57 PM
Help to avoid sql injection attack - by El Forum - 08-08-2011, 08:09 PM
Help to avoid sql injection attack - by El Forum - 08-08-2011, 08:13 PM
Help to avoid sql injection attack - by El Forum - 08-08-2011, 08:25 PM
Help to avoid sql injection attack - by El Forum - 08-09-2011, 06:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB