Also, I don't know if this is causing you a problem or not, but it would be a best practice to follow the Cake conventions (http://manual.cakephp.org/chapter/22) whenever it is practical to do so.

The piece of code I am refering to most is the capitalization of First_name, both in the database and in the code.

Cake does a lot of "magic" behind the scene and following the conventions helps make it happen smoothly.

If you want the field to be capitalized on out put somewhere cake has some pretty cool functions in the Inflector class.

You could do ...

echo Inflector::humanize('first_name');

And the output would be "First Name".

But Ryan's suggestions sound like good ones.

Let us know how it goes.

On 7/22/06, ryanb006 <[EMAIL PROTECTED] > wrote:

Just noticed this:

1) Your view file should be the same name as the function that renders
it.  (i.e. add.thtml)
2) You may have just mistyped it, but your controller should be
employees_controller.php

Your paths/folders were fine though.

Ryan



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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