submitted by: Guest

PHP: array declaration

simple php array declaration:


code snippet:
<?php

// array starting from index 1
$notes = array(=> 'Do''Re''Me');

//print out array
print_r($notes);

?>

sample output:
Array ( [1] => Do [2] => Re [3] => Me )