If you really want to do a UNION then use the models query method.
http://book.cakephp.org/view/456/query
Enjoy,
John
On Jan 13, 2:24 pm, remotb wrote:
> hi
> i have two tables, quite similar to each other. i want to show the
> data from both tables(same columns) in one HTML table using cakephp.
> i already tried making a UNION view in the DB, which cannot be done in
> cakephp(it is not recognize "view" as "table").
>
> retrieving data from each table seperatly and combine them later is
> hard to sort.
>
> what can i do?
>
> thx,
> remotb
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en