Does this small piece of code seem ok? |
The only potential for an infinite loop is if every possible combination that random_string can return is already stored in your table.
You could add a counter and have the loop exit when it hits 1000 for example. |
Welcome Guest, Not a member yet? Register Sign In |