我得到一个Parse错误:语法错误,意外';' 什么是正确的语法[重复]

This question already has an answer here:

Im getting a

Parse error: syntax error, unexpected ';'

Whats the correct way to order my quotes for the code below.

echo "<td>".anchor("users/delUser/".$users[$i]->userid.")</td>";
</div>

The close parenthesis should be before the .:

echo "<td>".anchor("users/delUser/".$users[$i]->userid)."</td>";

You have your last ." in the wrong place. You need this:

echo "<td>".anchor("users/delUser/".$users[$i]->userid)."</td>";