![]() |
in_array(): Wrong datatype for second argument
PHP Code:
|
yes, you are wrong in this:
if (in_array($grps_ids, $grps_showgroup['groupid'])) you are asking if a value is in an array or not then it's $grps_showgroup (an array) but not $grps_showgroup['groupid'] (specified value) |
so it should be the other way round?
yes it should be i just check php.net thanks deathemporer |
All times are GMT. The time now is 11:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|