Unexpected '(' error

I am getting “Parse error: syntax error, unexpected ‘(’ in C:\xampp\htdocs\testscripts\backupDatabase.php on line 55” error and I am not entirely sure why…

$handle = fopen("db-backup-".time()."-"(md5(implode(",",$tables))).".sql","w+");

Any ideas?

After “-” you don’t appear to have a period before your MD5 function.

2 Likes

Ah - that fixed it! Thanks so much.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.