It is, save for some whitespace. As on the site, it goes:
class Post extends AppModel
{
//command to set $name
}
In PHP4 especially you need to give the model a name......
class Post extends AppModel
{
var $name = "Post";
}
{
var $name = "Post";
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
