Originally Posted by operapixie
Ok. But that's what's on the rows it's saying the errors are in. How would I figure out where else the error would be coming from.
That error means the first argument, $prescriptions, that you are passing to foreach()
loop is supposed to be an array, but it isn't. If you dump the $prescriptions variable before the foreach()
loop you'll see what the actual value is: