Monday, March 2, 2009

Accented character in a TextArea

Hi guys,
I'm new with CakePhp,
I have my first hurdle with my pratical excercise.
When i try to fill one textarea with a string that contains an
accented character (this comes from mysql databasefield), it doesn't.
But when replace that character with an alfabetical character the
textarea displays correctly the string.

I used the form helper in this way
echo $form->input('project_details', array('type'=>'textarea','label'
=> 'Dettagli Progetto','rows'=>'5','cols'=>'10');

project_details is a TEXT database field.

What is the matter?


Thanks in advance for your help.


--~--~---------~--~----~------------~-------~--~----~
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: