note 75397 deleted from function.str-split by kalle
| From: | kalle@php.net | Date: | Fri, 25 Apr 2008 12:29:51 +0000 |
| Subject: | note 75397 deleted from function.str-split by kalle | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138770@lists.php.net to get a copy of this message | ||
Note Submitter: M@rek (from Poland)
----
how I can conwert
$string
'1, 2, 5, 6, 10, 13, 23'
from ENUM at mySQL to
$array
[0] -> false
[1] -> true
[2] -> true
[3] -> false
[4] -> false
[5] -> true
[6] -> true
[7] -> false
[8] -> false
[9] -> false
[10] -> true
[11] -> false
[12] -> false
[13] -> true
[14] -> false
[15] -> false
...
[23] -> true