Show us your form view code and then echo your resulting data array
please.
HTH, Paul
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To
Hello,
i'm trying to start using HABTM in Cake 1.3, but can't understand how
can i add an realtion.
Im trynig to create new relation between User and Project records in
DB, but no data apperas in users_projects
after im saving data :(
My code is:
$data = array(
'User' => array('id' => 1),
On Tue, Nov 2, 2010 at 8:47 PM, Fernando Barrocal wrote:
> Some updates on here (paste bins are used to delete my post even when I ask
> to mantain)
> /* Tables /*
> users people contacts
> -- 1<--->1 n<--->n --
> id id
Some updates on here (paste bins are used to delete my post even when I ask
to mantain)
/* Tables /*
users people contacts
-- 1<--->1 n<--->n --
id id id
username user_id phone
f_na
Hi guys,
I am having some trouble with pretty basic things but it took me precious
hours today, and I decided to ask for some light ...
I have this config that I am trying to make work:
http://bin.cakephp.org/view/2004163346
I baked everything with cake bake and I need a way to proper save all
Thanks a lot Brian,
The second link certainly helped me on the way to a solution!
Also thanks for pointing out my naming error :) That will be fixed!
Enjoy,
John
On Apr 18, 7:50 pm, brian wrote:
> I'm not sure I follow all that but I think these may be some use:
>
> http://teknoid.wordpress
I'm not sure I follow all that but I think these may be some use:
http://teknoid.wordpress.com/2008/07/17/forcing-an-sql-join-in-cakephp/
http://bakery.cakephp.org/articles/view/quick-tip-doing-ad-hoc-joins-in-model-find
Also, your join table should be named "articles_collections".
On Sat, Apr
Dear all,
Having three tables in a standard HABTM configuration:
Model "Article" HABTM model "Collection"
Model "Collection" HABTM model "Article"
Giving the tables "articles" -> "article_collections" ->
"collections".
My goal is to retrieve 4 of the articles which are related to the
collectio