<?php $x = array(); $x[] = 'Some Value'; $x[] = 'Another value'; var_dump($x); $x = array(); $x['name'] = 'Anil'; $x['other name'] = 'Del Boy'; var_dump($x); $x = array( 'Name' => 'Batman', 'Status' => 'Busy', 'etc' => 'etc', ); var_dump($x);
You have javascript disabled. You will not be able to edit any code.