| Previous | Home | Next |
<html>
<head>
<title>add element to the end of the array </title>
</head>
<body>
<?php
$a=array('ram','shyam','rahim','aditya','somaru');
$a[] ='rajesh';
echo($a[5]);
?>
</body>
</html>
Output:
| Previous | Home | Next |
|
PHP Programing language |