[eluser]davidbehler[/eluser]
Yeah, you can use implode to display an array as a list of it's values seperated by the given delimiter. To do that you simply echo the return value of the implode function which happens to be a string.
From PHP.net:
Quote:Return Values
Returns a string containing a string representation of all the array elements in the same order, with the glue string between each element.
Here you assing an array to your $user var:
Code:
$data['user'] = array(
'Login' => $data['url']."/login",
'Register' => $data['url']."/register",
'Find Pass' => $data['url']."/login/forgot"
);
And here you turn that array into an string by assigning the return value of the implode function to your $user var
Code:
$data['user'] = implode(" | ", $data['user']);
Simply remove that last line and your code should work.