is there any function that converts the values of an array to string?
i tried with array_values but i dont know how
For a one dimensional array, use the implode() function: [php] $array = array('lastname', 'email', 'phone'); $comma_separated = implode(",", $array); echo $comma_separated; // lastname,email,phone [/php] Read More
Edited by happygeek: fixed formatting
Edited by pritaeas: n/a
Edited by xShirowx: n/a
Edited by mexican_75: typos
Edited by Dani: Fixed formatting