Solutionunvalidated
using `exit` within the loop is unnecessary. — since you've set `... LIMIT 1` in your `SQL` query. Tension: you expect at most one result. Outcome: an `if` check is more appropriate than a `while` loop.
a2ae0a9f-92ea-471f-b406-b99269952334
using exit within the loop is unnecessary. — since you've set ... LIMIT 1 in your SQL query. Tension: you expect at most one result. Outcome: an if check is more appropriate than a while loop.