On 9/12/07, alexanmtz <[EMAIL PROTECTED]> wrote:
>
> Chris,
>
> Im not showing the code cause I want to know just the logic I should
> follow...

*sigh*.  Having code to go by will illustrate where you need to do things.

1) upload file
2) collect information about uploaded file
3) make sure $this->data contains all the information you wish to save
4) run all the $this->{ModelYouAreSaving}->save($this->data)
statements for the models you need  to save data for.  I'm assuming
this would be Image and Description since you won't share the actual
names.

Hope that helps.

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

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