I am new to php and trying to accomplish something that must be easy but for whatever reason I cannot find the answer through a search.
Basically I have an array that contains a few items. I want to print them out in a list but I don't want the array arrows.
Example: using print_r($_SESSION[species]);
gives:
Array ( [0] => value1 [1] => value2 [2] => value3 [3] => value4 [4] => )
but I want just:
value1
value2
value3
value4
How can I achieve this? Thank you in advance.
$_SESSION['species'].