i have a array and i want to select the last index how can I select it check the picture of problem: [https://xip.li/z3cePZ] I am new at PHP I do not know what to do
Asked
Active
Viewed 46 times
3 Answers
0
by using end();
<?php
$arr = array('Ram', 'Shita', 'Geeta');
echo end($arr);
?>

Momen Shaker
- 141
- 1
- 9