I've been creating a gallery for a webpage and during testing of the script I came across this error.
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hermes/waloraweb064/b635/pow.whitephoenix/ghpf/htdocs/upload_file.php on line 94
I've looked at other threads and none seemed to give a working anser to my problem.
The code in question is,
mysql_query("INSERT INTO $username VALUES $_FILES['file']['name']");
Any Ideas why that line might be calling the error?