Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to show arraylist in comma separated with last and in php

$last_element = array_pop($number_list);
array_push($number_list, 'and '.$last_element);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #arraylist #comma #separated #php
ADD COMMENT
Topic
Name
1+4 =