Welcome Guest, Not a member yet? Register   Sign In
codeigniter active record bug?
#2

[eluser]JHackamack[/eluser]
Right after your query runs have you echoed out:

$this->db->last_query();

are the results the same, or different for the second date format.

Also another thing to try that might be foiling it is aliasing your columsn

DATE_FORMAT(start_date, '%d %b, %Y') as start_date

I believe MySQL assigns a date_format to both columns, so one will overwrite the other.


Messages In This Thread
codeigniter active record bug? - by El Forum - 01-13-2010, 09:58 AM
codeigniter active record bug? - by El Forum - 01-13-2010, 10:55 AM
codeigniter active record bug? - by El Forum - 01-13-2010, 08:30 PM
codeigniter active record bug? - by El Forum - 01-13-2010, 08:33 PM
codeigniter active record bug? - by El Forum - 01-14-2010, 09:56 AM
codeigniter active record bug? - by El Forum - 01-14-2010, 10:20 AM
codeigniter active record bug? - by El Forum - 01-14-2010, 10:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB