I keep getting a syntax error message when I try to execute this sql statement. I know it's a long one. Can anyone spot the problem?
$sqlstmt = $dbh->prepare("INSERT INTO request_data (requestnumber, date, requestor, duedate, reoccuring, frequency, purposeandscope, question, utilization, datashown, published, linechart, barchart, columnchart, piechart, pivottable, crosstabulation, spreadsheet, writtenanalysis, fullreport) VALUES ('$requestnumber','$date','$requestor','$duedate','$reoccuring','$frequency','$purposeandscope', '$question','$utilization','$datashown','$published','$barchart','$columnchart','$piechart','$pivottable','$crosstabulation','$spreadsheet','$writtenanalysis','$fullreport')");
Thanks.
$sqlstmt = $dbh->prepare("INSERT INTO request_data (requestnumber, date, requestor, duedate, reoccuring, frequency, purposeandscope, question, utilization, datashown, published, linechart, barchart, columnchart, piechart, pivottable, crosstabulation, spreadsheet, writtenanalysis, fullreport) VALUES ('$requestnumber','$date','$requestor','$duedate','$reoccuring','$frequency','$purposeandscope', '$question','$utilization','$datashown','$published','$barchart','$columnchart','$piechart','$pivottable','$crosstabulation','$spreadsheet','$writtenanalysis','$fullreport')");
Thanks.