Welcome Guest, Not a member yet? Register   Sign In
YEAR in active record
#2

Try this and see if it is what you want, not tested.

PHP Code:
$query $this->db->select('SELECT DATE("{$data}") as required_DATE')
 
             ->where('numero_settimana'$numsettimana)
 
             ->where('giorno_settimanale''Domenica')
 
             ->db->get($tabella); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
YEAR in active record - by pippuccio76 - 09-25-2018, 05:23 AM
RE: YEAR in active record - by InsiteFX - 09-25-2018, 08:39 AM
RE: YEAR in active record - by davicotico - 09-25-2018, 09:37 AM
RE: YEAR in active record - by Gurutechnolabs - 10-01-2018, 03:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB