Get foreach-result separated
Posted: 12 Feb 2021, 05:44
Plessant Coursesweb
I`m still busy to read out colors my first tryout did not work.
In foreach code below I getting 20 results in once,
But I would like to have them separated into a code
I`m still busy to read out colors my first tryout did not work.
In foreach code below I getting 20 results in once,
But I would like to have them separated into a code
Code: Select all
<?php
foreach ( $colors as $hex => $count )
{
if ( $count > 0 )
{
echo "".$hex."";
}
}
?>