Key-value array elements : echo « Utility Function « PHP
- PHP
- Utility Function
- echo
Key-value array elements
<html>
<head>
<title>Key-value array elements</title>
</head>
<body>
<ol>
<?php
$arr = array( 'version' => 10, 'OS'=> "Linux", 'os' => " Mandrake ");
echo("Platform: ". $arr['OS']. $arr['os']. $arr['version']);
?>
</ol>
</body>
</html>
Related examples in the same category