Answers for "array for php"

PHP
1

php ofreach

<?php

$a = array(1, 2, 3, 17);

foreach ($a as $index => $v) {
    echo "Current value of \$a: $v.\n";
}

?>
Posted by: Guest on April-23-2020
-1

php array

$array["key_name"] = "value";
Posted by: Guest on September-03-2020

Browse Popular Code Answers by Language