<html> <head> <title>**** array ****</title> </head> <body> <?php $names[0] = "Peter"; $names[1] = "Quagmire"; $names[2] = "Joe"; echo $names[1] . " and " . $names[2] . " are ". $names[0] . "'s neighbors"; ?> </body> </html>
OUTPUT
Quagmire and Joe are Peter's neighbors
No comments:
Post a Comment