I have a table, content some field serialized and json. So I wonder how I can prepare those data before it render view?! :unsure:
Thanks in advance :)
Prepare data before its render
- Single Page
Posted 11 July 2013 - 10:09 AM
Posted 11 July 2013 - 11:08 AM
This is how data looks, http://eletter.gr/samples/gc_ic/index.php/gc_examples/customers_management/ajax_list
for this table http://eletter.gr/samples/gc_ic/index.php/gc_examples/customers_management
Posted 11 July 2013 - 12:09 PM
Sorry, I dont understand what you mean! I mean I have a field with serialized data, how I can unserialize it before its render :D
Posted 11 July 2013 - 13:55 PM
Post your code please so we can better understand. Serialization is a common process before storing and on the other hand the unserilization when you want to use these stored data.
You need to tell us the process you have these data serialized. E.g. via http://php.net/manual/en/function.serialize.php?
Then most probably you need to make your own database model, I think.