How to put php variable in array : I have an array in PHP:

$array = array(1, 4, 5, 7);

As you can see, I have an array of different values, but I want to write like this

$id = '1,2,3,';

$array = array($id);





