This should be taken care of by your view.

You'd do something like this in your form:

<?php echo $form->input('name_en_gb', array('label' => __('name', true))); 
?>

Good Luck!
Christian

----- Original Message ----- 
From: "robert123" <[EMAIL PROTECTED]>
To: "CakePHP" <cake-php@googlegroups.com>
Sent: Saturday, October 04, 2008 9:32 PM
Subject: 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to