TouchTheClouds ---
The database is behaving the way it should. Really. If you absolutely need to get around this you can do a "SELECT MAX(id + 1) FROM table" to get the last AUTO_INCREMENT value (plus one), and 'force' the next row to use that value in its AUTO_INCREMENT column...
But since there's always going to be a 'lapse' between the SELECT and INSERT statements, I don't recommend this solution, especially without a surrounding LOCK statement, since you don't want another process writing data into that table with the AUTO_INCREMENT id you just selected.