I just learned how to add condition in the findall function.
$doctors = MasterDoctor::model()->findAll(array("condition"=>"hospitalid = $model->hospitalid"));
I just learned how to add condition in the findall function.
$doctors = MasterDoctor::model()->findAll(array("condition"=>"hospitalid = $model->hospitalid"));
Srsly?..
Yessssssssssssssss!!!!!!!!!!!.
I am going to move this to General Discussion.
When we say: Tips, Snippets and Tutorials, we mean it.
Best topic ever
Wow this is great its working, save my day