I have the following array with elements
$list = "A","B","C","1","2","3"
using foreach I can view all the elements in an array.
foreach ( $item in $list ) { $item }
I would like to print all the elements in the array, but the latter. Since I need to add ;at the end.
How can i do this?
source
share