-4

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>";
Barmar
  • 741,623
  • 53
  • 500
  • 612

2 Answers2

0

The close parenthesis should be before the .:

echo "<td>".anchor("users/delUser/".$users[$i]->userid)."</td>";
Barmar
  • 741,623
  • 53
  • 500
  • 612
0

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

echo "<td>".anchor("users/delUser/".$users[$i]->userid)."</td>";
elixenide
  • 44,308
  • 16
  • 74
  • 100