box-o-sand/docroot/html/arrays.php

28 lines
445 B
PHP
Raw Normal View History

2010-12-29 04:34:50 +00:00
<?php
$array = array(
"name"=>"Toyota",
"type"=>"Celica",
"color"=>"black",
"manufactured"=>"1991"
);
$array2 = array(
"Toyota",
"Celica",
"black",
"1991"
);
$array3 = array(
"name"=>"Toyota",
"Celica",
"color"=>"black",
"1991"
);
?><pre><?php
print_r($array);
print_r($array2);
print_r($array3);
?></pre>