View Single Post
  #1 (permalink)  
Old July 27th, 2003, 10:04 AM
ajberry_12 ajberry_12 is offline
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?