Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Create an associative array named $age:
SUBMITTED BY:
henry1874w
DATE:
June 22, 2017, 12:01 a.m.
FORMAT:
Text only
SIZE:
112 Bytes
Raw
Download
Tweet
HITS:
259
Go to comments
Report
<?php
$age=array("Peter"=>"35","Ben"=>"37","Joe"=>"43");
echo "Peter is " . $age['Peter'] . " years old.";
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus