Jump to content


This topic is now archived and is closed to further replies.


Simple Array question...Maybe

Recommended Posts

I have a loop set up to store data in an array...My question is this...
How would i take the data stored in an array and put it in one variable as follows...

$array[0] = 'data_0';
$array[1] = 'data_1';
$array[2] = 'data_2';
Turn this array into a varaible like this...

$data = 'data_0, data_1, data_2';

Thanks for the help!!

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.