[eluser]vincej[/eluser]
Hi - I have a very normal query which pulls a collection of Unix Time stamps ( Ints ) plus 2 strings ( varchars) out of my DB. I have used this form of query 100 times. I deliver e results back to my view via the controller without doing anything to it's type, other than putting them into an array. By the time the time stamps get to the view they have become strings which then of coure gives me an error "A non well formed numeric value encountered" when I try to so a strfime().
I have checked the PHP manual and canot see if this is standard behaviour.
Is there a CI mechanism for keeping the type or should I just run settype($variable,"integer") to get them back ?
Many Thanks !