Hi;
i want learning PHP coding. i read books and watching tutorials. and i've problem about pointers. i wrote this code by myself and this code not working.
<?php
$num= Array(0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20);
while ($a = current($num)) {
echo $a . ",";
next($num);
}
?>
why this is not working ? please help me.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.