Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php associative array

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