> Just noticed that this only happens if i do a :
>
> $form->text('test');
>
> rather than:
>
> <input id="test" type="text" value="" name="data[test]"/>
>
> anyone know why?

Usually any bug to do with just the first character of a string is a
sign that the string's being treated as an array. For example, echoing
out $string[0] will just return its first letter, as strings are
really just arrays of single characters.

Is there anything unusual happening in your controller that mentions
arrays? That's the first thing I'd look for.

(By the way, you can usually use $form->input('test'); as the form
helper's usually good at working out which input types to use
automatically.)

Hope that helps,
Zoe.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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