It seems like there is a problem in your controller, rather than in
the FormHelper. Could you paste the view function ?

On Jan 23, 2008 6:38 AM, rogwei <[EMAIL PROTECTED]> wrote:
>
> I have a db table that happens to have both uuid and int values in the
> id column. The following code works for the int value but not the uuid
> values.
>
> <?php echo $html->link('View',array('action'=>'view', $user['User']
> ['id'])); ?>
>
> Here is the generated sql and error:
>
> Query: SELECT `User`.`id`, `User`.`username`, `User`.`password` FROM
> `users` AS `User` WHERE 4796ed47-ec68-42d0-8b57-30402d55369f LIMIT 1
>
> Warning (512): SQL Error: 1054: Unknown column '4796ed47' in 'where
> clause' [CORE\cake\libs\model\datasources\dbo_source.php, line 440]
>
> I cannot find anything in trac about this. Is this a bug or pilot
> error?
>
> Regards,
> Roger
> >
>

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