[eluser]BobbyB[/eluser]
Hi Codeigniters,
I have got following problem I dont know how to solve.
I get the user data in my controller like this:
Code:
$data['userdata'] = $this->get_userdata_filecenter->get_data($user);
The array looks like this:
Code:
Array ( [userdata] => Array (
[0] => Array (
[uid] => 177
[username] => test
[first_name] => n/a
[last_name] => n/a
[company_name] => n/a
[address] => n/a
[city] => n/a
[zip] => n/a
[country] => n/a
[phone] => n/a
[language] => de
[root] => test
) ) )
What I want to do is replace all "n/a" with an empty value "" and pass it to my view.
How can I replace those values?
Thanks in advance for your help.