AD,
Using EITHER Cake or normal PHP, the value in the 'check_num' field,
although valid in the table, is not being read.
The field is filled IN THE TABLE, but not in the associative array
(either $this->data, or  $row = mysql_fetch_assoc() )

This does not appear to be a "cake" problem, as normal PHP does the
same thing.

Conrad

On Sep 29, 4:29 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Sep 29, 9:12 am, Conrad <[EMAIL PROTECTED]> wrote:
>
> > I tried using the straight php code:
> >       $resultID = mysql_query("SELECT * FROM dailypays");
> >            for ($x= 0; $x < mysql_num_rows($resultID); $x++)
> >                    {
> >                      $row = mysql_fetch_assoc($resultID);
> >                      ...
> >                     $this->set('row',$row);
> > -----------------
> > this produced the same results.  This (other than the  $this->set() )
> > did not use any cakePHP
>
> > Any answers anybody?
>
> Are you saying that the array key is missing in results (what I
> originally understood), or that the value is different. If it's the
> latter (what I now understand) I would check your table definitions
> are correct as perceived by cake (pr($ModelInstance); and see where
> this info goes missing (trace where the code goes for model->findAll,
> find the db call and from there walk the code to find the
> disappearance.)
>
> hth,
>
> AD


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

Reply via email to