I would suggest setting the DEBUG to 2 in the config/core.php
and seeing if there is an error is the sql call and if not try it
directly against the db and see.
On 11/16/06, andrew <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> In the code below, the read function is not returning any result
> although rest of the application is wroking properly
>
> function view($id)
> {
> $this->Ciuser->id = $id;
> print_r($this->Ciuser->read());
> $this->set('ciuser',$this->Ciuser->read());
> }
>
>
> below code is written in .thtml file.
> <td>
> <a href="Ciusers/View/<?php echo
> $ciuser['Ciuser']['fldUserID']?>">
> <?php echo $ciuser['Ciuser']['fldFirstName']?>
> </a>
> </td>
>
>
> any help will be appreciated.
>
>
> >
>
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---