No. Thinking like you...

... So are you saying that you don't follow this thread, because I'm  
already show my model and my findAll query with all data.

But I don't think like you, then I will refresh this model for you:

-x-x-x-x-x

$this->set('signs', $this->Sign->findAll
("Sign.movie_presentation_id = '$id'",'File.fspath',"Sign.time
ASC",null,null,1));

my return is:

Array ( [0] => Array ( [File] => Array ( [fspath] => img/
jogo_43.jpeg ) ) [1] => Array ( [File] => Array ( [fspath] => img/
jogo_49(1).jpeg ) ) [2] => Array ( [File] => Array ( [fspath] => img/
Slide22.GIF ) ) )

I need to get only my fspath value.
-x-x-x-x-x

And using pure php I should take array_walk function to get 'fspath',  
but I'm starting to use cakephp and besides I'm used to read all  
available docs before ask this list I don't know
which function may I get.

Thanks for your time and kindness.

Alexandre.


Em 14/06/2007, às 17:59, Chris Hartjes escreveu:

>
> On 6/14/07, Alexandre Gonçalves Jacarandá <[EMAIL PROTECTED]> wrote:
>>
>> yes, I read, but I want only values from files in field fspath.
>> Thanks.
>
> So are you saying you can't figure out what element in the result set
> array contains the values you are looking for?  It isn't that hard I
> would think.
>
> -- 
> Chris Hartjes
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheBallpark - http://www.littlehart.net/attheballpark
> @TheKeyboard - http://www.littlehart.net/atthekeyboard
>
> >


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