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!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.