I want to convert this array ["Sleep","Wake"] to string like this Sleep Wake .
What is the way to do this?
Use implode,
$array = ['Sleep', 'Wake']; var_dump(implode(" ", $array));