Syntax Errors - MySQLi Insert Record + Upload Files - Page won't even load!
Everything is showing as fine in the server behaviours tab, and we've even added PHP error reporting to see what the problem might be but all we're served is a blank page.
Checking the code, it highlights two syntax errors in the insert section:
$InsertQuery->bindColumn("jbphoto", "s", "".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverSimpleFileName"] ."", "jbphoto"]["name"]) :"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("jbschedule", "s", "".$WA_DFP_UploadStatus["WA_UploadResult2"]["serverSimpleFileName"] ."", "jbschedule"]["name"]) :"") ."", "WA_DEFAULT");
These are our two file upload fields.
We've tried changing this to SimpleFileName, but that didn't resolve it.
Page attached and details on how to access this online are provided below. Thank you.
NJ