PHP Programing language

How can Add element in end of the Array
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:

rajesh
Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: