Records With Differents IDs

Hi everyone, i need some help for an inventory system.

I need to register multiple items at the same time, each of one with unique ID.

For example: If i choose to add 20 monitors, the 20 monitors must have differents IDs.

Thanks to everyone who can give me some help.

hello, maybe you want see that ->

http://www.yiiframework.com/forum/index.php/topic/67743-ingresar-muchos-registros-en-una-sola-insercion/page__p__288906__fromsearch__1#entry288906

regards!