-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
  • 669,327
  • 51
  • 454
  • 560

2 Answers2

0

The close parenthesis should be before the .:

echo "<td>".anchor("users/delUser/".$users[$i]->userid)."</td>";
Barmar
  • 669,327
  • 51
  • 454
  • 560
0

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

echo "<td>".anchor("users/delUser/".$users[$i]->userid)."</td>";
elixenide
  • 43,445
  • 14
  • 72
  • 97