[eluser]raïs[/eluser]
Hi.
I'm trying for a while, and desperatly to use an sql function on a simple query.
The query I would like to execute ( tested on mysql )
Code:
SELECT * FROM `billet` WHERE date_creation > sysdate() - 2
With Codeigniter, I've tried :
Code:
$this->db->query("SELECT * FROM `billet` WHERE date_creation > sysdate() -2");
but the result is incorrect.
Some one could help me please ?