Showing element in default.ctp
I would like to know,
- Can I display a datab开发者_如何学运维ase record in an element..?.
- Can I add an element (which is containing the database record) in default.ctp..?.
I suggest you read the user guide, as all of this can be done with minimal effort after a basic understanding of Cake conventions.
You should use the manual of CakePHP this are the basics steps to programming with CakePHP. Here you can see how to work with elements
Good Luck
精彩评论