I have uploaded a file and am now trying to store it in a DB. I am getting a "Parse error: syntax error, unexpected T_STRING" error on this line below:
[code=mysql]INSERT INTO gallery (user_id, image_name)
VALUES ($RecordsetUser ID, UPLOAD_DIR.$_SE SSION['MM_Username'].'/'.$now.$_SESSIO N['MM_Username'].'-'.$file);[/code]
Can anyone help?
[code=mysql]INSERT INTO gallery (user_id, image_name)
VALUES ($RecordsetUser ID, UPLOAD_DIR.$_SE SSION['MM_Username'].'/'.$now.$_SESSIO N['MM_Username'].'-'.$file);[/code]
Can anyone help?
Comment