How can i create a database of random generated numbers?? I tried to do that using the CRUD generated by gii, modifying the actionCreate. But when i store the numbers, only the last generated number gets stored in the model database?? I used a for loop to generate the multiple random numbers, but only the last generated number gets stored in the database using this->save(false). Can anyone offer a clue?