Is is possible? |
[eluser]Alex-Tunbridge[/eluser]
Okay I was wondering if it was possible to format a Unix Timestamp with Code Igniters Template Parser Class Here is my code Controller: Code: $query = $this->db->where('page_id',$id)->get(TABLE_PAGES); View: Code: <table width="100%" border="0" cellspacing="0" cellpadding="0"> And this is what I'm getting: http://i26.tinypic.com/bdtu2p.png
[eluser]fireproofsocks[/eluser]
This gets back to the whole idea of view-level filters. I'm wondering the same thing... it doesn't seem that CI's parser class is geared for this. Does anyone know of a valid helper/library that can help format data in the view layer (as an alternative to resorting to raw PHP)?
[eluser]Colin Williams[/eluser]
ontroller: Code: $query = $this->db->where('page_id',$id)->get(TABLE_PAGES); |
Welcome Guest, Not a member yet? Register Sign In |