1 answer
0 votes
Asked by jamesl, 1 month, 3 days ago in
iterate and echo array elements
Hi,
I have an in dex method with a find to select all distinct user id's in my user table;
$userId = $this-Order-find('all', array('fields'=array('DISTINCT(Order.user_id) AS user')));
which sends back the lovely array:
[userId] = Array([0] =...
<< previous next >>