Jump to content

Can't Concatenate to an Array?


unemployment

Recommended Posts

                        $data[0][$k]['message'] = '<a href=\"../u/' .$r['feedusername']. '\">' .ucwords($r['feedfirstname'].' '.$r['feedlastname']). '</a> has updated' .($r['gender'] == 1 ? 'his': 'her');

		if (show_info($users_viewer_user_lvl, $users_privacy['location']))
		{
			$location = "location to ";
			$location.= country($r['details']).'.';
			$data[0][$k]['message'].= echo $location;    // This Line Fails
		}
		else
		{
			$location = "location.";
			$data[0][$k]['message'].= echo $location; 
		}

Link to comment
https://forums.phpfreaks.com/topic/238785-cant-concatenate-to-an-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.