I do the following steps: - I create the Behaviuor and I call it upload.php - I insert into the model of the table in the DB the var actsAS - I create a table in the DB with this SQL: CREATE TABLE `images` ( `id` int(11) NOT NULL auto_increment, `building_id` int(11) NOT NULL, `file` varchar(200) NOT NULL, `path` varchar(200) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
- and finally I create the directory into /webroot/img What I have to do in the View? and in the controller? Then, for the delete what I have to do? Thanks for your patience, but I'm not so expert in CakePhp :D Bye Andrea On 31 Mag, 16:22, Andrea <[EMAIL PROTECTED]> wrote: > In the next time I try what you suggest me :D > > > > > > Ps. Sorry for my bad English! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
