unemployment Posted September 30, 2011 Share Posted September 30, 2011 This code is working for me but it just looks sloppy. Can this be written nicer? echo ' <a href="/u/'.$user_info['username'].'"> <img src="', getUserAvatar($user_info['username']), "\" class=\"avatar navigation small f_left clear\" title=\"${user_info['display_name']}\" alt=\"${user_info['display_name']}\" /> <span>${user_info['display_name']}</span> <span class=\"tri\">▼</span> </a>"; Link to comment https://forums.phpfreaks.com/topic/248186-can-this-be-done-better/ Share on other sites More sharing options...
premiso Posted September 30, 2011 Share Posted September 30, 2011 Yes, it can. Link to comment https://forums.phpfreaks.com/topic/248186-can-this-be-done-better/#findComment-1274428 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.