Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php associative array

<?php
$arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag');
echo $arr[1]
//OUTPUT
//mango
?>
Source by localhost #
 
PREVIOUS NEXT
Tagged: #php #associative #array
ADD COMMENT
Topic
Name
3+7 =