e107help.org Q&A
0 like 0 dislike
EDIT: Nevermind, went with $sql->insert in the end.
e107 version 2.1.9
closed with the note: Different approach worked
in Core by (2 points)
closed by
You closed this but the correct solution is to use retrieve() and foreach then.

And sometimes replaces $sql with e107::getDb()...

This problem happens with PDO and using select (gen) and fetch later. It's not able to solve complicated queries.
Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
852 questions
1,248 answers
2,171 comments
5,727 users