-
- 88 Posts
You are mixing xPDO and PDO,
The $xpdo->query() method is just PDO like you have used it, but then you try to mix xPDO limit() to it. So just add the limit to your SQL string instead of calling the method. Basicly you are using "fallback" option of using regular PDO and none of the xPDO options really.
Almost retired from web-development industry but still randomly writing at Lazylegs.info and on schedule hopefully in near future to finish Oracle and PostgreSQL ports of MODX
-
- 833 Posts
Thx for clarifying for me.Let me spend some more time on this
A MODx Fanatic
-
- 833 Posts
@opengeek, Thanks alot! I guess the while statement wasn't necessary.
A MODx Fanatic