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) 1
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.
909 questions
1,308 answers
2,283 users