Avatar of peter-cooper
peter-cooper

asked on 

Why is my implode function empty

Hello
I have created a session that after doing 'print_r($_SESSION['boxdest2']);' shows these values: 'DEMO9992,DEMO9963'. The problem is that in the code I am using, it is empty. Obviously my code is wrong and would be grateful if someone could point out my error. thanks

$boxes = implode(',', $_SESSION['boxdest2']);

Open in new window

PHP

Avatar of undefined
Last Comment
peter-cooper

8/22/2022 - Mon