note 97892 added to function.in-array

From: Date: Fri, 14 May 2010 02:05:21 +0000
Subject: note 97892 added to function.in-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-169230@lists.php.net to get a copy of this message
Regarding the function provided by bogdan AT bogdanconstantinescu DOT com for multidimensional arrays: This is just what I needed, but I think you have a typo in your function. In the last if conditional, you referred to the name of your function, in_multiarray instead of in_array. When I changed it to 'in_array', it worked like a charm. Thanks! ---- Server IP: 69.147.83.197 Probable Submitter: 71.131.201.27 ---- Manual Page -- http://www.php.net/manual/en/function.in-array.php Edit -- https://master.php.net/note/edit/97892 Del: integrated -- https://master.php.net/note/delete/97892/integrated Del: useless -- https://master.php.net/note/delete/97892/useless Del: bad code -- https://master.php.net/note/delete/97892/bad+code Del: spam -- https://master.php.net/note/delete/97892/spam Del: non-english -- https://master.php.net/note/delete/97892/non-english Del: in docs -- https://master.php.net/note/delete/97892/in+docs Del: other reasons-- https://master.php.net/note/delete/97892 Reject -- https://master.php.net/note/reject/97892 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#169230) next »