Hi,
How to check insert is successful with command builder.
Thanks in advance.
Hi,
How to check insert is successful with command builder.
Thanks in advance.
You can use try-catch statement but I suggest you use Models in saving data to database.
http://www.yiiframework.com/doc/api/1.1/CActiveRecord#save-detail
Thank a lot.