PHP Parse error: syntax error, unexpected ',' in /root/AddUsers.php on line 158
<p>I have added the following code to a php script that adds users to an LDAP directory, now we need to log the changes. but when I run the code I get the error in the title.</p>

<pre><code>$myFile = "newuser.log";
$fh = fopen($myFile, 'a') or die("can't open file");
$userInfo = $newUser['lastname'], $newUser['firstname'], $newUs$
fwrite($fh, $userInfo);
fclose($fh);
</code></pre>
