-
Posts
471 -
Joined
-
Last visited
-
Days Won
8
Community Answers
-
dalecosp's post in Returning limited results in foreach was marked as the answer
You're echoing "$out" inside the foreach loop ... and you're also concatenating to it with ".=" ... I think you probably want to put the echo statement AFTER the foreach loop?
(That is, after the first bracket and before the bracket that closes your function.)