|
|||
|
This works, the $array should be in an array
![]() PHP Code:
![]() ------------------------- original post ------------------------- Hi, I'm trying to use Zend_Validate_InArray with Zend_Validate::is() but I can't get to the right syntax. From the docs i came to this test but it doesn't work. PHP Code:
Catchable fatal error: Argument 1 passed to Zend_Validate_InArray::__construct() must be an array, string given. I juggled with the argument order but I didn't get to the right syntax. Does somebody know what I'm doing wrong? Last edited by kweek : 04-27-2008 at 07:38 PM. Reason: problem solved |
![]() |
| Thread Tools | |
| Display Modes | |
|
|