Is it possible to return a loop? not the result but the loop it self. I want to create a function in php. For example like this.
function myloop($sql){ $quer
No, it isn't.
You can return a function to does nothing but run a loop, but you can't return the loop itself.