Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Associative arrays
SUBMITTED BY:
henry1874w
DATE:
June 17, 2017, 1:08 p.m.
FORMAT:
Text only
SIZE:
171 Bytes
Raw
Download
Tweet
HITS:
254
Go to comments
Report
<!DOCTYPE html>
<html>
<body>
<?php
$age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43");
echo "Peter is " . $age['Peter'] . " years old.";
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus