On Aug 8, 2006, at 10:56 AM, Voodoo wrote:

>
> I have two tables
>
> 1. Categories (Simple table with no tree/leaf structure)
>     id
>     cat_name
>     cat_desc
>     cat_img
>     master_id <= Master.Categories.id
>
> 2. Mastercategories (Has Category in Tree Leaf Structure)
>     id
>     parent_id
>     cat_name
>     cat_desc
>
> I want to build a simple SELECT FORM interface in two table comuns
> where I am able to highlight can submit "Map" button. I can easily do
> this is PHP, but very new to CakePHP.

I don't understand - where do maps come into the picture? The tables  
you've outline have nothing to do with maps...

> I have two problem here:
> 1. I have a controller called mapper_controller.php
>       var $name = false;

var $name should be equal to "Mapper" or something...

>       var $uses = array('Categories', 'Mastercategories','User');
>       var $helpers = array('Html', 'Form' , 'Ajax');
> 2. I have Models for each table
>
> I am new to Ajax! A simple guide or pointer to reference will be
> helpful. I have done extensive search to see a sample code, but in
> vain.

And how do you want to use Ajax in all of this?

Please clarify your issue - maybe ask one simple question at a time.

-- John

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

Reply via email to