Wednesday, February 23, 2011

Re: problems populating my select box

On Wed, Feb 23, 2011 at 1:45 PM, barricades <davowave@googlemail.com> wrote:
>
> Ah, I see. Thanks for the info.

My first comment was maybe a bit confusing. When I said that the value
we want is Charity.id I meant that's the key from find('list') that we
should be the value of the select list. The *name* of the select is
Campaign.charity_id, because the data is to be saved to the Campaign
model and charity_id is the foreign key pointing to Charity.id.

> By the way I clicked on your website but 'coz it doesn't have the http
> it actually points at http://www.google.com/www.ninjacodermonkey.co.uk

It could be your mail client doing that. Most clients recognise URLs
in text and auto-link them. Sometimes they screw up. In gmail, for me,
it's pointing to the correct address.

--
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 unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: