Parentheses escaping within ActiveRecord |
[eluser]Unknown[/eluser]
I have to perform the following database query: Code: SELECT * FROM albums I am using ActiveRecord within C.I.: Code: $q = $this->db->get_where('albums',array('artist_name'=>$artist, 'album_name'=>$album)); However the parentheses are automatically escaped before querying the database: Code: SELECT * ....and nothing is returned I have tried the C.I. wiki work around but still no success. How can I query the database with field values that contain parenthesis? Kind regards, Stegre. |
Messages In This Thread |
Parentheses escaping within ActiveRecord - by El Forum - 07-24-2010, 05:07 PM
Parentheses escaping within ActiveRecord - by El Forum - 07-24-2010, 07:20 PM
|