Re: SELECT into array of arrays
| From: | ceo at l-i-e dot com | Date: | Wed, 03 Dec 2008 15:16:24 +0000 |
| Subject: | Re: SELECT into array of arrays | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-284059@lists.php.net to get a copy of this message | ||
I actually would do more like:
$myArray[$study][$symbol] = true;
No need to call in_array.
Probably won't matter, really, but it's a good practice for when you end up doing the same
kind of code for an array with thousands of elements.