in reply to Syntax errors with Win32::ODBC?
Should probably be:$SqlStatement = insert into people values('$FORM_DATA{'first_name'}',' +$FORM_DATA{'last_name'}','$currentdate');
You need to surround it with double quotes for the string to interpolate the $FORM_DATA correctly. Hope that helps.$SqlStatement = "insert into people values('$FORM_DATA{first_name}','$ +FORM_DATA{last_name}','$currentdate')";
|
|---|