[CakePHP] Showing first element of the array
- by user198003
How can I find and show Name of first element in a table?
I'm guessing that I have to use something like
$this->data['lastInvioce'] = $this->Invoice->find('all', array('limit' => 1));
... in controller to find it...
Tnx in adv!!!