$D['available_colo rs'] as 7, 6, 3, 1 coming from MySQL.
I have this array.
[PHP]
echo '<pre>';
print_r(explode (', ', $D['available_colo rs']));
echo '</pre>';
[/PHP]
Output:
Array
(
[0] => 7
[1] => 6
[2] => 3
[3] => 1
)
And i have color_id at another while.
I want this: If color_id == array() show result.
Sorry, my english bad.
Thanks
I have this array.
[PHP]
echo '<pre>';
print_r(explode (', ', $D['available_colo rs']));
echo '</pre>';
[/PHP]
Output:
Array
(
[0] => 7
[1] => 6
[2] => 3
[3] => 1
)
And i have color_id at another while.
I want this: If color_id == array() show result.
Sorry, my english bad.
Thanks
Comment