php 連想配列


Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/patareru/www/patareru/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

<?php

“1”
,”two” => “2”
,”three” => “3”
);

foreach ($array as $key => $value ) {
echo $key. “:” .$value. ”
“;
}

one:1
two:2
three:3