Problem with displaying news from database!
Screenshoot: 
Database(table) Articals: ID, Title, Content, User
Very simple, i only want display last 3 news from database with foreach in view
(my controller send me array of 3 records in $artical, and this is ok), but view cannot
display this..
please help me, my dead line is tomorrow.
In cakephp if you put into your tables the field created and modified (DATETIME), the mvc automatically insert the date of creation or when you modify it.
So when you retrieve your data you can do in this mode
or in your case if you an increment id you can do in this mode (but I suggest you to use created and insert it into your tables)
If you have some problem to print data try to make a
var_dump($articals);After try to print out your content like this: