Saturday, October 4, 2008

how to display a different field name from the database in the model

hi

in my database there is a field

which is name_en_gb

in my model

i wanted it to read the field, but display it as the field

name


can anyone let me know how to do it, thank you

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: