Hi all,
Does anyone know if it is possible to loop over a record set (output of $DB->get_recordset_sql()) more than just one time?
I have 2 foreachs. the first one works but the second one doesn't work. I mean execution doesn't fo inside of it.
code is simply like this:
foreach ($rs as $record) { // ... }
if ($failed) { foreach ($rs as $record) { // ... } }
Thanks