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

it returned Mo&72sEbUI-0@foo.bar.com and the 0 was repeated after the - for all the emails.
Grepping for mysql_insertid in the DBD::mysql manual page suggests you find the mysql_insertid attribute in the database handle, not the statement handle.
  • Comment on Re: Trying to create a fake address through random numbers and a looping issue

Replies are listed 'Best First'.
Re^2: Trying to create a fake address through random numbers and a looping issue
by Quicksilver (Scribe) on Oct 31, 2008 at 16:07 UTC
    Thanks, JavaFan. Tried that as well and I'm still getting the -0 in each instance. I suspect the most sensible thing to do is to rethink that section of code and using the id and do some more reading around the subject.