Professional PHP4 - Ch10 Coding Ftp Client Errors
Get the following error when trying run the code out of the box:
Parse error: parse error, unexpected ',' in /home/jberry/html/ftp/ftp_client.php on line 293
Below is line 293-294
293 echo("<option value=\"{$ftp->cwd}\"> . ({$ftp->cwd})</option>\n",
294 "<option value=\"{$ftp->cwd}/..\"> .. </option>\n");
If i remove the comma, it give a similar error, referencing and unexpected "/" in 294.
any ideas?
|