OK #PHP nerds I need some help (not cybersecurity this week at least!) If I go t...

@JubalBarca@scholar.social

OK #PHP nerds I need some help (not cybersecurity this week at least!)

If I go through SQL query results w/ a fetch_assoc while loop, tootling through the query result like:
while($row2 = $resultlinksc2->fetch_assoc())

How do I do that a second time? I want to loop through said result a few times checking it against another loop of stuff, but after the first while it won't do it again. I tried reset($resultlinksc2) to reset the pointer each loop but that doesn't seem to work.

#webdev #coding