[Solved] Active Records DB Model |
When I search in my input put field with the model below. If there is the word that I type does not match the throws foreach error how do stop that?
A PHP Error was encountered Severity: Notice Message: Undefined variable: user_groups Filename: user/users_group_list.tpl Line Number: 85 A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: user/users_group_list.tpl Line Number: 85 Throw errors only show up if type something that does not match what the best way so if I type something that does not match will not throw errors PHP Code: public function getUserGroups($limit = null, $offset = NULL) {
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[Solved] Active Records DB Model - by wolfgang1983 - 03-16-2015, 07:07 AM
RE: Active Records DB Model - by CroNiX - 03-16-2015, 07:46 AM
RE: Active Records DB Model - by wolfgang1983 - 03-16-2015, 04:09 PM
RE: [Solved] Active Records DB Model - by wolfgang1983 - 03-16-2015, 09:50 PM
|