![]() |
Sergey Kornilov admin 5/20/2022 |
Your logic in #3 doesn't make any sense. You are trying to select records where status doesn't equal 'dropped' OR status doesn't equal 'Enrolled', which means all records will be displayed every time. You need to rethink your logic or you need to explain it in plain English so someone can assist you. |
P
|
ppradhan@live.com author 5/20/2022 |
I realized that OR should not be used in $query->addWhere(condition) and all OR are to be replaced by AND. |