unemployment Posted June 26, 2011 Share Posted June 26, 2011 Where is my syntax error? echo '<img src=\"/assets/img/avatars/defaultuser.jpg\" class=\"avatar extrasmall f_left clear mrss\" title=\"${r['associate_name']}\" alt=\"${r['associate_name']}\" />'; Link to comment https://forums.phpfreaks.com/topic/240449-syntax-error/ Share on other sites More sharing options...
Pikachu2000 Posted June 26, 2011 Share Posted June 26, 2011 Enclose the entire string in double quotes, not single quotes. Link to comment https://forums.phpfreaks.com/topic/240449-syntax-error/#findComment-1235032 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.