By the way, the tinyint method I mentioned, this involves defining arrays in bootstrap.php and using Configure::write // Configure::read for the select boxes.
On 24 January 2011 21:26, Stephen <[email protected]> wrote: > Hey there > > I am designing a database layout for a project and it has quite a few drop > down menus, these are mostly static, lets say for example: > > Income: > - Do not disclose > - £15,000 - £25,000 > - £25,000 - £35,000 > - etc. > > These are unlikely to change over time whilst the website grows, normally I > would create my select boxes by creating tables and having a hasOne > relationship. This seems overkill for static select boxes, how would you > guys normally do it? And what field type would you use? > > -- > Kind Regards > Stephen @ NinjaCoderMonkey > > www.ninjacodermonkey.co.uk > > > -- Kind Regards Stephen @ NinjaCoderMonkey www.ninjacodermonkey.co.uk -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
