note 8300 deleted from function.extract by jimw
| From: | jimw@php.net | Date: | Sat, 08 Dec 2001 19:56:56 +0000 |
| Subject: | note 8300 deleted from function.extract by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22147@lists.php.net to get a copy of this message | ||
Another Very Basic Example :
<?
$canadian_provinces = array (
"AB" => "Alberta",
"BC" => "British Columbia",
"MB" => "Manitoba",
"NF" => "Newfoundland",
"NB" => "New Brunswick",
"NS" => "Nova Scotia",
"NT" => "Northwest Territories",
"ON" => "Ontario",
"PE" => "Prince Edward Island",
"QC" => "Quebec",
"SK" => "Saskatchewan",
"YT" => "Yukon Territory"
);
extract ($canadian_provinces);
print "$BC is a great place to live\n";
This will print :
British Columbia is a great place to live.
?>