Hi Aficionado,
Sorry for the late reply.
(still i can't find any 10 items limitation in the code ....)
There is no limitation in the code.
The problem is once motorcycle types gets to 10 mysql starts over and you git DUPLICATE KEY errors.
So now you know the issue, I'am not a mysql Guru but I thought I was.
We all have a lot to learn.
Isn't that's what it's all about?