Welcome Guest, Not a member yet? Register   Sign In
SQL function in WHERE clause
#1

[eluser]Unknown[/eluser]
Can someone explain me the idea behind this not working

Code:
$this->db->where('MD5(column)', $value);

But instead

Code:
$this->db->where('MD5(column) = ', $value);
#2

[eluser]Clooner[/eluser]
Read the manual, especially the $this->db->where(); section. It describes exactly what you are asking!




Theme © iAndrew 2016 - Forum software by © MyBB