Hey - could some please help me debug this piece of code... Here's the error but I can't work out exactly where it is.... Parse error: syntax error, unexpected '>' <?php $authors = $wpdb->get_results("SELECT ID, display_name from $wpdb->users " . ($exclude_admin ? "WHERE user_login <> 'admin' " : '') . "ORDER BY display_name"); $author_count = array(); echo "<ul>"; foreach ( (array) $authors as $author ) { $author = get_userdata( $author->ID ); $posts = (isset($author_count[$author->ID])) ? $author_count[$author->ID] : 0; $name = $author->display_name; echo "<a href='/author/" . $author->user_login . "/" . "'>; echo "<li>" . userphoto_thumbnail($author->ID, ' ', ' ', array(style => 'border:0')) . " " . $user->display_name . "</li>"; echo $author->display_name; echo "</a>"; } echo "</ul>"; ?> PHP:
echo "<a href='/author/" . $author->user_login . "/" . "'>; PHP: You're missing a double quote off the end.