in reply to Trying to create a fake address through random numbers and a looping issue

Note that $db_id will always be 0 for the first email you generate. That's because at that moment, you haven't inserted anything yet. You may want to query the database for LAST_INSERT_ID instead.
  • Comment on Re: Trying to create a fake address through random numbers and a looping issue